X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2Fcontacteditor%2FContactDataObject.h;h=abf22dd70ad5281bfb3730258ccb6b68b3c295d7;hp=cd53dc98e1b0f0ddd6eb2756ca42dc102075d460;hb=ac5416e95caeeefefdbf9706b65926f6b75589cf;hpb=1679607db68e8dc0de40711cb2123e68a8a52186 diff --git a/source/contacteditor/ContactDataObject.h b/source/contacteditor/ContactDataObject.h index cd53dc9..abf22dd 100644 --- a/source/contacteditor/ContactDataObject.h +++ b/source/contacteditor/ContactDataObject.h @@ -44,6 +44,12 @@ enum ContactKindType{ CONTACTKIND_LOCATION }; +enum PropertyType{ + PROPERTY_NONE, + PROPERTY_HOME, + PROPERTY_WORK +}; + class ContactDataObject{ public: @@ -560,6 +566,13 @@ class ContactDataObject{ 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); }; @@ -567,5 +580,11 @@ void SplitValues(wxString *PropertyLine, std::map *SplitPoints, std::map *SplitLength, int intSize); + +void CheckType(wxString *PropertySeg1, + std::map *SplitPoints, + std::map *SplitLength, + int *intPrevValue, + PropertyType *intType); #endif \ No newline at end of file