X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2Fcdo%2FContactDataObject.h;h=ebca7b605175414e902b1cd7254b1121bdd0cf0d;hb=60b068e2dfdf58c14d5669133db0e789304b2717;hp=6317312b16d576d9728704834f10210d1a664964;hpb=e84fab463acd898067e17d83b748dc365fd9a8d0;p=xestiaab%2F.git diff --git a/source/contacteditor/cdo/ContactDataObject.h b/source/contacteditor/cdo/ContactDataObject.h index 6317312..ebca7b6 100644 --- a/source/contacteditor/cdo/ContactDataObject.h +++ b/source/contacteditor/cdo/ContactDataObject.h @@ -1,6 +1,6 @@ // ContactDataObject.h - Client Data Object header. // -// (c) 2012-2015 Xestia Software Development. +// (c) 2012-2016 Xestia Software Development. // // This file is part of Xestia Address Book. // @@ -24,8 +24,8 @@ #include #include -#include "../vcard/vcard.h" -#include "../common/textprocessing.h" +#include "../../vcard/vcard.h" +#include "../../common/textprocessing.h" enum ContactLoadStatus{ CONTACTLOAD_UNITTESTFAIL = -1, @@ -110,10 +110,13 @@ class ContactDataObject{ wxString BirthdayAltID; wxString BirthdayCalScale; wxString BirthdayTokens; + bool BirthdayText = FALSE; + wxString Anniversary; wxString AnniversaryAltID; wxString AnniversaryCalScale; wxString AnniversaryTokens; + bool AnniversaryText = FALSE; wxString Gender; wxString GenderDetails; @@ -137,12 +140,6 @@ class ContactDataObject{ std::map ClientPIDList; std::map ClientPIDListTokens; - /* We don't use these at the moment but we want to keep - them for compatability reasons */ - - /*std::map ExtraFullNames;*/ - /*std::map ExtraNicknames;*/ - std::map FullNamesList; std::map FullNamesListType; std::map FullNamesListLanguage; @@ -186,6 +183,7 @@ class ContactDataObject{ std::map GeneralIMListAltID; std::map GeneralIMListPID; std::map GeneralIMListType; + std::map GeneralIMListTypeInfo; std::map GeneralIMListTokens; std::map GeneralIMListMediatype; std::map GeneralIMListPref; @@ -196,6 +194,7 @@ class ContactDataObject{ std::map GeneralTelephoneListType; std::map GeneralTelephoneListTokens; std::map GeneralTelephoneListTypeInfo; + std::map GeneralTelephoneListDataType; std::map GeneralTelephoneListPref; std::map GeneralLanguageList; @@ -219,6 +218,7 @@ class ContactDataObject{ std::map GeneralGeographyListType; std::map GeneralGeographyListTokens; std::map GeneralGeographyListMediatype; + std::map GeneralGeographyListDataType; std::map GeneralGeographyListPref; std::map GeneralRelatedList; @@ -308,6 +308,7 @@ class ContactDataObject{ std::map HomeIMListAltID; std::map HomeIMListPID; std::map HomeIMListType; + std::map HomeIMListTypeInfo; std::map HomeIMListTokens; std::map HomeIMListMediatype; std::map HomeIMListPref; @@ -318,6 +319,7 @@ class ContactDataObject{ std::map HomeTelephoneListType; std::map HomeTelephoneListTokens; std::map HomeTelephoneListTypeInfo; + std::map HomeTelephoneListDataType; std::map HomeTelephoneListPref; std::map HomeLanguageList; @@ -341,6 +343,7 @@ class ContactDataObject{ std::map HomeGeographyListType; std::map HomeGeographyListTokens; std::map HomeGeographyListMediatype; + std::map HomeGeographyListDataType; std::map HomeGeographyListPref; std::map HomeWebsiteList; @@ -421,6 +424,7 @@ class ContactDataObject{ std::map BusinessIMListAltID; std::map BusinessIMListPID; std::map BusinessIMListType; + std::map BusinessIMListTypeInfo; std::map BusinessIMListTokens; std::map BusinessIMListMediatype; std::map BusinessIMListPref; @@ -431,6 +435,7 @@ class ContactDataObject{ std::map BusinessTelephoneListType; std::map BusinessTelephoneListTypeInfo; std::map BusinessTelephoneListTokens; + std::map BusinessTelephoneListDataType; std::map BusinessTelephoneListPref; std::map BusinessLanguageList; @@ -454,6 +459,7 @@ class ContactDataObject{ std::map BusinessGeographyListType; std::map BusinessGeographyListTokens; std::map BusinessGeographyListMediatype; + std::map BusinessGeographyListDataType; std::map BusinessGeographyListPref; std::map BusinessWebsiteList; @@ -604,6 +610,7 @@ class ContactDataObject{ // Subroutines. ContactLoadStatus LoadFile(wxString Filename); + void ClearData(); };