pilot-qof 0.2.3
|
00001 /*************************************************************************** 00002 * qof-address.h 00003 * 00004 * Thu Oct 21 12:44:36 2004 00005 * Copyright 2004-2007 Neil Williams <linux@codehelp.co.uk> 00006 ****************************************************************************/ 00007 /* 00008 This program is free software; you can redistribute it and/or modify 00009 it under the terms of the GNU General Public License as published by 00010 the Free Software Foundation; either version 3 of the License, or 00011 (at your option) any later version. 00012 00013 This program is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with this program. If not, see <http://www.gnu.org/licenses/>. 00020 */ 00036 #ifndef _QOF_ADDRESS_H 00037 #define _QOF_ADDRESS_H 00038 00039 #include "pi-address.h" 00040 00041 #define ADDRESS_VERSION address_v1 00042 #define PQ_MOD_ADDRESS "pilotqof-address" 00043 #define PILOT_LINK_QOF_ADDRESS "pilot_address" 00044 00046 #define ADDR_LAST_NAME "entryLastname" 00047 #define ADDR_FIRST_NAME "entryFirstname" 00048 #define ADDR_COMPANY "entryCompany" 00049 #define ADDR_PHONE_ONE "entryPhone1" 00050 #define ADDR_PHONE_TWO "entryPhone2" 00051 #define ADDR_PHONE_THREE "entryPhone3" 00052 #define ADDR_PHONE_FOUR "entryPhone4" 00053 #define ADDR_PHONE_FIVE "entryPhone5" 00054 #define ADDR_ADDRESS "entryAddress" 00055 #define ADDR_CITY "entryCity" 00056 #define ADDR_STATE "entryState" 00057 #define ADDR_ZIP "entryZip" 00058 #define ADDR_COUNTRY "entryCountry" 00059 #define ADDR_TITLE "entryTitle" 00060 #define ADDR_CUSTOM_ONE "entryCustom1" 00061 #define ADDR_CUSTOM_TWO "entryCustom2" 00062 #define ADDR_CUSTOM_THREE "entryCustom3" 00063 #define ADDR_CUSTOM_FOUR "entryCustom4" 00064 #define ADDR_NOTE "entryNote" 00065 #define ADDR_CATEGORY "category" 00066 00073 gboolean AddressRegister (void); 00074 00075 Address_t * address_get_pilot (QofInstance * inst); 00076 00077 #endif /* _QOF_ADDRESS_H */ 00078