X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2Fcdo%2FContactDataObject.h;h=46edb7e3a52c1b88a0166b13b9355dcc1d05e57c;hb=23776c47694a72b7ae42c3c0f63bd24ab63a3bad;hp=6317312b16d576d9728704834f10210d1a664964;hpb=e84fab463acd898067e17d83b748dc365fd9a8d0;p=xestiaab%2F.git diff --git a/source/contacteditor/cdo/ContactDataObject.h b/source/contacteditor/cdo/ContactDataObject.h index 6317312..46edb7e 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; @@ -308,6 +306,7 @@ class ContactDataObject{ std::map HomeIMListAltID; std::map HomeIMListPID; std::map HomeIMListType; + std::map HomeIMListTypeInfo; std::map HomeIMListTokens; std::map HomeIMListMediatype; std::map HomeIMListPref; @@ -421,6 +420,7 @@ class ContactDataObject{ std::map BusinessIMListAltID; std::map BusinessIMListPID; std::map BusinessIMListType; + std::map BusinessIMListTypeInfo; std::map BusinessIMListTokens; std::map BusinessIMListMediatype; std::map BusinessIMListPref; @@ -604,6 +604,7 @@ class ContactDataObject{ // Subroutines. ContactLoadStatus LoadFile(wxString Filename); + void ClearData(); };