/usr/include/pilotobjects/qof-address.h is in libpilotobjects-dev 0.2.3-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | /***************************************************************************
* qof-address.h
*
* Thu Oct 21 12:44:36 2004
* Copyright 2004-2007 Neil Williams <linux@codehelp.co.uk>
****************************************************************************/
/*
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/** @addtogroup QOF
@{ */
/** @addtogroup Addr Addresses and Contacts
Addresses is probably the easiest QOF object to understand - all the entries
are simple strings. QOF does provide a cache that could be used here but
until pilot-qof has an interactive shell, creating and then populating
the cache is considered not worthwhile.
@{ */
/** @file qof-address.h
@brief QOF address definitions for pilot-link
@author Copyright (c) 2004-2007 Neil Williams <linux@codehelp.co.uk>
*/
#ifndef _QOF_ADDRESS_H
#define _QOF_ADDRESS_H
#include "pi-address.h"
#define ADDRESS_VERSION address_v1
#define PQ_MOD_ADDRESS "pilotqof-address"
#define PILOT_LINK_QOF_ADDRESS "pilot_address"
/** Hack alert: Because these are strings (for QOF), the
macros CANNOT be used directly in the enum! */
#define ADDR_LAST_NAME "entryLastname"
#define ADDR_FIRST_NAME "entryFirstname"
#define ADDR_COMPANY "entryCompany"
#define ADDR_PHONE_ONE "entryPhone1"
#define ADDR_PHONE_TWO "entryPhone2"
#define ADDR_PHONE_THREE "entryPhone3"
#define ADDR_PHONE_FOUR "entryPhone4"
#define ADDR_PHONE_FIVE "entryPhone5"
#define ADDR_ADDRESS "entryAddress"
#define ADDR_CITY "entryCity"
#define ADDR_STATE "entryState"
#define ADDR_ZIP "entryZip"
#define ADDR_COUNTRY "entryCountry"
#define ADDR_TITLE "entryTitle"
#define ADDR_CUSTOM_ONE "entryCustom1"
#define ADDR_CUSTOM_TWO "entryCustom2"
#define ADDR_CUSTOM_THREE "entryCustom3"
#define ADDR_CUSTOM_FOUR "entryCustom4"
#define ADDR_NOTE "entryNote"
#define ADDR_CATEGORY "category"
/** \brief Extended for pilot-link
Uses the standard QOF registration but adds a pilot_pack
registration that tells QOF how to deal with the pilot-link
objects contained within the QOF objects.
*/
gboolean AddressRegister (void);
Address_t * address_get_pilot (QofInstance * inst);
#endif /* _QOF_ADDRESS_H */
/** @} */
/** @} */
|