X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FContactDataObject.h;h=6f2ad8375a1dd862a817782841b2311079d17087;hb=d5e5a52dfa7ba94138977833034789f794740134;hp=f91ea61aff5489c90892652929aa5edc760115fc;hpb=02248b76582978705c083ef8ffb85c8d4efe4a23;p=xestiaab%2F.git diff --git a/source/contacteditor/ContactDataObject.h b/source/contacteditor/ContactDataObject.h index f91ea61..6f2ad83 100644 --- a/source/contacteditor/ContactDataObject.h +++ b/source/contacteditor/ContactDataObject.h @@ -52,6 +52,35 @@ 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); + void ProcessPhoto(wxString PropertySeg1, wxString PropertySeg2, int *PhotoCount); + void ProcessLogo(wxString PropertySeg1, wxString PropertySeg2, int *LogoCount); + void ProcessSound(wxString PropertySeg1, wxString PropertySeg2, int *SoundCount); + void ProcessCalendarURI(wxString PropertySeg1, wxString PropertySeg2, int *CalAdrCount); + public: ContactKindType ContactKind = CONTACTKIND_NONE; @@ -142,6 +171,7 @@ class ContactDataObject{ std::map GeneralTelephoneListPID; std::map GeneralTelephoneListType; std::map GeneralTelephoneListTokens; + std::map GeneralTelephoneListTypeInfo; std::map GeneralTelephoneListPref; std::map GeneralLanguageList; @@ -263,6 +293,7 @@ class ContactDataObject{ std::map HomeTelephoneListPID; std::map HomeTelephoneListType; std::map HomeTelephoneListTokens; + std::map HomeTelephoneListTypeInfo; std::map HomeTelephoneListPref; std::map HomeLanguageList; @@ -288,15 +319,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; @@ -383,6 +405,7 @@ class ContactDataObject{ std::map BusinessTelephoneListAltID; std::map BusinessTelephoneListPID; std::map BusinessTelephoneListType; + std::map BusinessTelephoneListTypeInfo; std::map BusinessTelephoneListTokens; std::map BusinessTelephoneListPref; @@ -407,16 +430,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; @@ -466,6 +480,7 @@ class ContactDataObject{ std::map CategoriesListPID; std::map CategoriesListType; std::map CategoriesListTokens; + std::map CategoriesListLanguage; std::map CategoriesListPref; /* Items on the Groups tab */ @@ -511,7 +526,8 @@ class ContactDataObject{ std::map SoundsListAudioEncType; std::map SoundsListAudioType; std::map SoundsListTokens; - std::map SoundsListMediatype; + std::map SoundsListMediatype; + std::map SoundsListLanguage; std::map SoundsListPref; /* Items on the Calendaring tab */ @@ -564,16 +580,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); };