X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2Fcontacteditor%2Fcdo%2FContactDataObject.h;h=733aa1f86751f64d778ad1abfaf2a1c87287fecf;hp=db795450e811eefa5f10f76af7919762fc1e03e8;hb=45cb2270fa3df3cc855fc5e039f44c8bae993a35;hpb=c6e1c40cb86bed7b264cba6b2e6a70cc1f584dfa diff --git a/source/contacteditor/cdo/ContactDataObject.h b/source/contacteditor/cdo/ContactDataObject.h index db79545..733aa1f 100644 --- a/source/contacteditor/cdo/ContactDataObject.h +++ b/source/contacteditor/cdo/ContactDataObject.h @@ -23,6 +23,7 @@ #include #include #include +#include #include "../../vcard/vcard.h" #include "../../common/textprocessing.h" @@ -40,7 +41,9 @@ enum ContactLoadStatus{ enum ContactSaveStatus{ CONTACTSAVE_UNITTESTFAIL = -1, - CONTACTSAVE_OK, + CONTACTSAVE_OK, + CONTACTSAVE_FILEERROR, + CONTACTSAVE_WRITEERROR }; enum ContactKindType{ @@ -106,6 +109,10 @@ class ContactDataObject{ map *SourceListPID, map *SourceListType, map *SourceListMediatype, map *SourceListPref, map *SourceListTokens, wxString *SaveData); + void SaveMember(std::map *GroupsList, std::map *GroupsListAltID, + std::map *GroupsListPID, std::map *GroupsListType, + std::map *GroupsListMediatype, std::map *GroupsListPref, + std::map *GroupsListTokens, wxString *SaveData); void SaveNickname(map *NicknameList, map *NicknameListAltID, map *NicknameListPID, map *NicknameListType, map *NicknameListLanguage, map *NicknameListPref, @@ -126,6 +133,16 @@ class ContactDataObject{ map *EmailListPID, map *EmailListType, map *EmailListPref, map *EmailListTokens, wxString *SaveData, wxString DataType); + void SaveIMPP(map *IMList, map *IMListAltID, + map *IMListPID, map *IMListType, + map *IMListTypeInfo, map *IMListDataType, + map *IMListPref, map *IMListTokens, + wxString *SaveData, wxString DataType); + void SaveTelephone(map *TelephoneList, map *TelephoneListAltID, + map *TelephoneListPID, map *TelephoneListType, + map *TelephoneListTypeInfo, map *TelephoneListMediatype, + map *TelephoneListPref, map *TelephoneListTokens, + wxString *SaveData, wxString DataType); void SaveLanguage(map *LanguageList, map *LanguageListAltID, map *LanguageListPID, map *LanguageListType, map *LangaugeListPref, map *LanguageListTokens, @@ -180,6 +197,19 @@ class ContactDataObject{ std::map *CalendarRequestListPID, std::map *CalendarRequestListType, std::map *CalendarRequestListMediatype, std::map *CalendarRequestListPref, std::map *CalendarRequestListTokens, wxString *SaveData); + void SaveFreeBusyURI(std::map *FreeBusyList, std::map *FreeBusyListAltID, + std::map *FreeBusyListPID, std::map *FreeBusyListType, + std::map *FreeBusyListMediatype, std::map *FreeBusyListPref, + std::map *FreeBusyListTokens, wxString *SaveData); + void SaveKey(map *KeyList, map *KeyListAltID, + map *KeyListPID, map *KeyListType, + map *KeyListKeyType, map *KeyListDataEncType, + map *KeyListDataType, map *KeyListPref, + map *KeyListTokens, wxString *SaveData); + void SaveVendor(map *VendorList, map *VendorListPEN, + map *VendorListElement, wxString *SaveData); + void SaveXToken(map *XTokenList, map *XTokenListTokens, + wxString *SaveData); public: