X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FContactDataObject.h;h=e18bf7079ca285471c860f27aa30f2368991cb4c;hb=b9886d22768b3d67c03c3ae1c5152be92fdf1c89;hp=4503a0c52fa59df0285531566aaeaa35e4794a79;hpb=12e81906f4a76d4773a0305e0722aed881148db7;p=xestiaab%2F.git diff --git a/source/contacteditor/ContactDataObject.h b/source/contacteditor/ContactDataObject.h index 4503a0c..e18bf70 100644 --- a/source/contacteditor/ContactDataObject.h +++ b/source/contacteditor/ContactDataObject.h @@ -52,6 +52,31 @@ enum PropertyType{ class ContactDataObject{ + private: + + void ProcessKind(wxString KindData); + void ProcessMember(wxString PropertySeg1, wxString PropertySeg2, int *GroupCount); + void ProcessFN(wxString PropertySeg1, wxString PropertySeg2, int *FNCount); + void ProcessN(wxString PropertySeg1, wxString PropertySeg2); + void ProcessNickname(wxString PropertySeg1, wxString PropertySeg2, int *NicknameCount); + void ProcessGender(wxString PropertySeg1, wxString PropertySeg2); + void ProcessBirthday(wxString PropertySeg1, wxString PropertySeg2); + void ProcessAnniversary(wxString PropertySeg1, wxString PropertySeg2); + void ProcessTimeZone(wxString PropertySeg1, wxString PropertySeg2, int *TimeZoneCount); + void ProcessAddress(wxString PropertySeg1, wxString PropertySeg2, int *AddressCount); + void ProcessEmail(wxString PropertySeg1, wxString PropertySeg2, int *EmailCount); + void ProcessIM(wxString PropertySeg1, wxString PropertySeg2, int *IMCount); + void ProcessTelephone(wxString PropertySeg1, wxString PropertySeg2, int *TelephoneCount); + void ProcessLanguage(wxString PropertySeg1, wxString PropertySeg2, int *LanguageCount); + void ProcessGeographic(wxString PropertySeg1, wxString PropertySeg2, int *GeographicCount); + void ProcessRelated(wxString PropertySeg1, wxString PropertySeg2, int *RelatedCount); + void ProcessURL(wxString PropertySeg1, wxString PropertySeg2, int *URLCount); + void ProcessTitle(wxString PropertySeg1, wxString PropertySeg2, int *TitleCount); + void ProcessRole(wxString PropertySeg1, wxString PropertySeg2, int *RoleCount); + void ProcessOrganisation(wxString PropertySeg1, wxString PropertySeg2, int *OrganisationCount); + void ProcessNote(wxString PropertySeg1, wxString PropertySeg2, int *NoteCount); + void ProcessCategory(wxString PropertySeg1, wxString PropertySeg2, int *CategoryCount); + public: ContactKindType ContactKind = CONTACTKIND_NONE; @@ -290,15 +315,6 @@ class ContactDataObject{ std::map HomeGeographyListMediatype; std::map HomeGeographyListPref; - std::map HomeRelatedList; - std::map HomeRelatedListRelType; - std::map HomeRelatedListLanguage; - std::map HomeRelatedListAltID; - std::map HomeRelatedListPID; - std::map HomeRelatedListType; - std::map HomeRelatedListTokens; - std::map HomeRelatedListPref; - std::map HomeWebsiteList; std::map HomeWebsiteListAltID; std::map HomeWebsiteListPID; @@ -410,16 +426,7 @@ class ContactDataObject{ std::map BusinessGeographyListType; std::map BusinessGeographyListTokens; std::map BusinessGeographyListMediatype; - std::map BusinessGeographyListPref; - - std::map BusinessRelatedList; - std::map BusinessRelatedListRelType; - std::map BusinessRelatedListLanguage; - std::map BusinessRelatedListAltID; - std::map BusinessRelatedListPID; - std::map BusinessRelatedListType; - std::map BusinessRelatedListTokens; - std::map BusinessRelatedListPref; + std::map BusinessGeographyListPref; std::map BusinessWebsiteList; std::map BusinessWebsiteListAltID; @@ -469,6 +476,7 @@ class ContactDataObject{ std::map CategoriesListPID; std::map CategoriesListType; std::map CategoriesListTokens; + std::map CategoriesListLanguage; std::map CategoriesListPref; /* Items on the Groups tab */ @@ -567,20 +575,6 @@ class ContactDataObject{ // Subroutines. ContactLoadStatus LoadFile(wxString Filename); - void ProcessKind(wxString KindData); - void ProcessMember(wxString PropertySeg1, wxString PropertySeg2, int *GroupCount); - void ProcessFN(wxString PropertySeg1, wxString PropertySeg2, int *FNCount); - void ProcessN(wxString PropertySeg1, wxString PropertySeg2); - void ProcessNickname(wxString PropertySeg1, wxString PropertySeg2, int *NicknameCount); - void ProcessGender(wxString PropertySeg1, wxString PropertySeg2); - void ProcessBirthday(wxString PropertySeg1, wxString PropertySeg2); - void ProcessAnniversary(wxString PropertySeg1, wxString PropertySeg2); - void ProcessTimeZone(wxString PropertySeg1, wxString PropertySeg2, int *TimeZoneCount); - void ProcessAddress(wxString PropertySeg1, wxString PropertySeg2, int *AddressCount); - void ProcessEmail(wxString PropertySeg1, wxString PropertySeg2, int *EmailCount); - void ProcessIM(wxString PropertySeg1, wxString PropertySeg2, int *IMCount); - void ProcessTelephone(wxString PropertySeg1, wxString PropertySeg2, int *TelephoneCount); - void ProcessLanguage(wxString PropertySeg1, wxString PropertySeg2, int *LanguageCount); };