X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2Fcontacteditor%2Fcdo%2FContactDataObject.h;h=733aa1f86751f64d778ad1abfaf2a1c87287fecf;hp=df84a2a4615b6b8fc21f835ce20d137ea5f5f1a8;hb=45cb2270fa3df3cc855fc5e039f44c8bae993a35;hpb=5a8405c8cebb102a025510b3df0cb84f3e63b283 diff --git a/source/contacteditor/cdo/ContactDataObject.h b/source/contacteditor/cdo/ContactDataObject.h index df84a2a..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{ @@ -132,9 +135,14 @@ class ContactDataObject{ wxString *SaveData, wxString DataType); void SaveIMPP(map *IMList, map *IMListAltID, map *IMListPID, map *IMListType, - map *IMListTypeInfo, map *IMListMediatype, + 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,