Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added source code, headers and unit testing code for the CALURI vCard Property for...
[xestiaab/.git] / source / contacteditor / ContactDataObject.h
index abf22dd..6f2ad83 100644 (file)
@@ -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<int, wxString> GeneralTelephoneListPID;
        std::map<int, wxString> GeneralTelephoneListType;
        std::map<int, wxString> GeneralTelephoneListTokens;
+       std::map<int, wxString> GeneralTelephoneListTypeInfo;
        std::map<int, int> GeneralTelephoneListPref;
        
        std::map<int, wxString> GeneralLanguageList;
@@ -263,6 +293,7 @@ class ContactDataObject{
        std::map<int, wxString> HomeTelephoneListPID;
        std::map<int, wxString> HomeTelephoneListType;
        std::map<int, wxString> HomeTelephoneListTokens;
+       std::map<int, wxString> HomeTelephoneListTypeInfo;
        std::map<int, int> HomeTelephoneListPref;
        
        std::map<int, wxString> HomeLanguageList;
@@ -288,15 +319,6 @@ class ContactDataObject{
        std::map<int, wxString> HomeGeographyListMediatype;
        std::map<int, int> HomeGeographyListPref;
        
-       std::map<int, wxString> HomeRelatedList;
-       std::map<int, wxString> HomeRelatedListRelType;
-       std::map<int, wxString> HomeRelatedListLanguage;
-       std::map<int, wxString> HomeRelatedListAltID;
-       std::map<int, wxString> HomeRelatedListPID;
-       std::map<int, wxString> HomeRelatedListType;
-       std::map<int, wxString> HomeRelatedListTokens;
-       std::map<int, int> HomeRelatedListPref;         
-       
        std::map<int, wxString> HomeWebsiteList;
        std::map<int, wxString> HomeWebsiteListAltID;
        std::map<int, wxString> HomeWebsiteListPID;
@@ -383,6 +405,7 @@ class ContactDataObject{
        std::map<int, wxString> BusinessTelephoneListAltID;
        std::map<int, wxString> BusinessTelephoneListPID;
        std::map<int, wxString> BusinessTelephoneListType;
+       std::map<int, wxString> BusinessTelephoneListTypeInfo;
        std::map<int, wxString> BusinessTelephoneListTokens;
        std::map<int, int> BusinessTelephoneListPref;
        
@@ -407,16 +430,7 @@ class ContactDataObject{
        std::map<int, wxString> BusinessGeographyListType;
        std::map<int, wxString> BusinessGeographyListTokens;
        std::map<int, wxString> BusinessGeographyListMediatype;
-       std::map<int, int> BusinessGeographyListPref;
-       
-       std::map<int, wxString> BusinessRelatedList;
-       std::map<int, wxString> BusinessRelatedListRelType;
-       std::map<int, wxString> BusinessRelatedListLanguage;
-       std::map<int, wxString> BusinessRelatedListAltID;
-       std::map<int, wxString> BusinessRelatedListPID;
-       std::map<int, wxString> BusinessRelatedListType;
-       std::map<int, wxString> BusinessRelatedListTokens;
-       std::map<int, int> BusinessRelatedListPref;                     
+       std::map<int, int> BusinessGeographyListPref;                   
        
        std::map<int, wxString> BusinessWebsiteList;
        std::map<int, wxString> BusinessWebsiteListAltID;
@@ -466,6 +480,7 @@ class ContactDataObject{
        std::map<int, wxString> CategoriesListPID;
        std::map<int, wxString> CategoriesListType;
        std::map<int, wxString> CategoriesListTokens;
+       std::map<int, wxString> CategoriesListLanguage;
        std::map<int, int> CategoriesListPref;  
        
        /* Items on the Groups tab */
@@ -511,7 +526,8 @@ class ContactDataObject{
        std::map<int, wxString> SoundsListAudioEncType;         
        std::map<int, wxString> SoundsListAudioType;            
        std::map<int, wxString> SoundsListTokens;
-       std::map<int, wxString> SoundsListMediatype;            
+       std::map<int, wxString> SoundsListMediatype;
+       std::map<int, wxString> SoundsListLanguage;     
        std::map<int, int> SoundsListPref;      
        
        /* Items on the Calendaring tab */
@@ -564,15 +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);
 
 };
 
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