Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Updated copyright year (forgot to alter it originally).
[xestiaab/.git] / source / contacteditor / frmContactEditor.h
index 8b872b3..ef4b8f2 100644 (file)
@@ -1,6 +1,6 @@
 // frmContactEditor.h - frmContactEditor form header.
 //
-// (c) 2012-2015 Xestia Software Development.
+// (c) 2012-2016 Xestia Software Development.
 //
 // This file is part of Xestia Address Book.
 //
@@ -603,45 +603,100 @@ class frmContactEditor : public frmContactEditorADT
                void ResetSaveProcessData();
                void ContactFileChanged( wxCommandEvent &event );
                void ClearContact();
-               
-               /* Functions for loading contacts */
-               void LoadKind(wxString KindType);
-               void LoadMember(wxString MemberData, int *GroupCount);
-               void LoadFN(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *FNCount, 
-                       bool *FNProcessed, vCard *ContactData);
-               void LoadN(wxString wxSPropertySeg1, wxString wxSPropertySeg2, bool *NameProcessed, 
-                       vCard *ContactData);
-               void LoadNickname(wxString wxSpropertySeg1, wxString wxSPropertySeg2, 
-                       int *NicknameCount, vCard *ContactData);
-               void LoadGender(wxString wxSPropertySeg1, wxString wxSPropertySeg2, bool *GenderProcessed, 
-                       vCard *ContactData);
-               void LoadBDay(wxString wxSPropertySeg1, wxString wxSPropertySeg2, bool *BirthdayProcessed);
-               void LoadAnniversary(wxString wxSPropertySeg1, wxString wxSPropertySeg2, bool *AnniversaryProcessed);
-               void LoadTimeZone(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *TZCount);
-               void LoadADR(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *ADRCount);
-               void LoadEmail(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *ADRCount);
-               void LoadIM(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *IMPPCount);
-               void LoadTelephone(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *TelCount);
-               void LoadLanguage(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *LangCount);
-               void LoadGeo(wxString wxSProptertySeg1, wxString wxSPropertySeg2, int *GeoCount);
-               void LoadRelated(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *RelatedCount);
-               void LoadURL(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *URLCount);
-               void LoadTitle(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *TitleCount);
-               void LoadRole(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *RoleCount);
-               void LoadOrg(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *OrgCount);
-               void LoadNote(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *NoteCount);
-               void LoadCategory(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *CategoryCount);
-               void LoadPhoto(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *PhotoCount);
-               void LoadLogo(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *PhotoCount);
-               void LoadSound(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *SoundCount);
-               void LoadCalURI(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *CalAdrCount);
-               void LoadCalAdrURI(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *CalReqAdrCount);
-               void LoadCalFreeBusy(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *FreeBusyCount);
-               void LoadKey(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *KeyCount);
-               
-               void LoadGender(wxString *GenderComponent, wxString *GenderIdentity);
+
+               void LoadKind(ContactKindType *KindType);
                void LoadBirthday(wxString *BirthdayData, bool *BirthdayText);
                void LoadAnniversary(wxString *AnniversaryData, bool *AnniversaryText);
+               void LoadGender(wxString *GenderComponent, wxString *GenderIdentity);
+               void LoadName(wxString *NameTitle, wxString *NameForename,
+                       wxString *NameSurname, wxString *NameOtherNames, 
+                       wxString *NameSuffix);
+               void LoadMember(std::map<int,wxString> *GroupList);
+               void LoadAddress(std::map<int, wxString> *GeneralAddressList,
+                       std::map<int, wxString> *GeneralAddressListTown,
+                       std::map<int, wxString> *GeneralAddressListCounty,
+                       std::map<int, wxString> *GeneralAddressListPostCode,
+                       std::map<int, int> *GeneralAddressListPref,
+                       std::map<int, wxString> *HomeAddressList,
+                       std::map<int, wxString> *HomeAddressListTown,
+                       std::map<int, wxString> *HomeAddressListCounty,
+                       std::map<int, wxString> *HomeAddressListPostCode,
+                       std::map<int, int> *HomeAddressListPref,
+                       std::map<int, wxString> *BusinessAddressList,
+                       std::map<int, wxString> *BusinessAddressListTown,
+                       std::map<int, wxString> *BusinessAddressListCounty,
+                       std::map<int, wxString> *BusinessAddressListPostCode,
+                       std::map<int, int> *BusinessAddressListPref, 
+                       int *AddressCount);
+               
+               void LoadData(std::map<int, wxString> *GeneralList,
+                       std::map<int, int> *GeneralListPref,
+                       wxListCtrl *GeneralListCtrl,
+                       std::map<int, wxString> *HomeList,
+                       std::map<int, int> *HomeListPref,
+                       wxListCtrl *HomeListCtrl,
+                       std::map<int, wxString> *BusinessList,
+                       std::map<int, int> *BusinessTZPref,
+                       wxListCtrl *BusinessListCtrl,
+                       int *DataCount);
+               
+               void LoadData(std::map<int, wxString> *GeneralList,
+                       std::map<int, int> *GeneralListPref,
+                       std::map<int, wxString> *GeneralListType,
+                       wxListCtrl *GeneralListCtrl,
+                       std::map<int, wxString> *HomeList,
+                       std::map<int, int> *HomeListPref,
+                       std::map<int, wxString> *HomeListType,
+                       wxListCtrl *HomeListCtrl,
+                       std::map<int, wxString> *BusinessList,
+                       std::map<int, int> *BusinessListPref,
+                       std::map<int, wxString> *BusinessListType,
+                       wxListCtrl *BusinessListCtrl,
+                       int *DataCount);
+               
+               void LoadData(std::map<int,wxString> *ItemList,
+                       std::map<int,int> *ItemListPref,
+                       wxListCtrl *ItemCtrl,
+                       int *DataCount);
+
+               void LoadData(std::map<int,wxString> *ItemList,
+                       std::map<int,int> *ItemListPref,
+                       std::map<int,wxString> *ItemListType,
+                       wxListCtrl *ItemCtrl,
+                       int *DataCount);
+       
+               void LoadData(wxString ItemName,
+                       std::map<int,wxString> *ItemList,
+                       std::map<int,int> *ItemListPref,
+                       std::map<int,wxString> *ItemListType,
+                       std::map<int,wxString> *ItemListDataType,
+                       wxListCtrl *ItemCtrl,
+                       int *DataCount);
+                       
+               void LoadPictureData(wxString ItemName, 
+                       std::map<int,std::string> *ItemList,
+                       std::map<int,int> *ItemListPref,
+                       std::map<int,wxString> *ItemListType,
+                       wxListCtrl *ItemCtrl,
+                       int *DataCount);
+                       
+               void LoadVendorData(std::map<int,wxString> *ItemListPEN,
+                       std::map<int,wxString> *ItemListElement,
+                       wxListCtrl *ItemCtrl,
+                       int *DataCount);
+
+               void LoadXTokenData(std::map<int,wxString> *ItemListTokens,
+                       wxListCtrl *ItemCtrl,
+                       int *DataCount);
+                       
+               void LoadData(std::map<int,wxString> *ItemList,
+                       wxComboBox *ItemCtrl);
+                       
+               void LoadRelatedData(std::map<int,wxString> *ItemList,
+                       std::map<int,int> *ItemListPref,
+                       std::map<int,wxString> *ItemListType,
+                       wxListCtrl *ItemCtrl,
+                       int *DataCount);
        
                int intValueSeek = 1;
                bool IsGroup = FALSE;
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy