X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditor.h;h=f0e73a75b27ad491f205eb3e47bee5c08945a9c6;hb=a27310520f595a63be801671c6817e5ce54ec90d;hp=f4dccc083b91be78497b557eaae1b8afe90a2e0c;hpb=45729fca56479bd9158486e0cda0c4a94b4dd1dc;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditor.h b/source/contacteditor/frmContactEditor.h index f4dccc0..f0e73a7 100644 --- a/source/contacteditor/frmContactEditor.h +++ b/source/contacteditor/frmContactEditor.h @@ -22,6 +22,28 @@ Subclass of frmContactEditorADT, which is generated by wxFormBuilder. #include "../frmActivityMgr.h" #include "../frmMain.h" +#define CE_NICKNAME wxT("Nickname") +#define CE_ADDRESS wxT("Address") +#define CE_EMAIL wxT("Email") +#define CE_IM wxT("IM") +#define CE_TELEPHONE wxT("Telephone") +#define CE_LANG wxT("Languages") +#define CE_TZ wxT("Timezone") +#define CE_RELATED wxT("Related") +#define CE_WEBSITE wxT("Websites") +#define CE_TITLE wxT("Titles") +#define CE_GEOPOSITION wxT("Geoposition") +#define CE_ROLE wxT("Roles") +#define CE_ORG wxT("Organisations") +#define CE_NOTE wxT("Notes") +#define CE_CATEGORIES wxT("Categories") +#define CE_GROUPS wxT("Groups") +#define CE_PICTURES wxT("Pictures") +#define CE_SOUNDS wxT("Sounds") +#define CE_CALENDAR wxT("Calendar") +#define CE_KEY wxT("Key") +#define CE_TOKEN wxT("Token") + //// end generated include struct frmMain; @@ -614,6 +636,41 @@ class frmContactEditor : public frmContactEditorADT void ResetSaveProcessData(); void ContactFileChanged( wxCommandEvent &event ); void ClearContact(); + + /* Functions for loading contacts */ + void LoadKind(wxString KindType); + void LoadMember(wxString MemberData, int *GroupCount); + void LoadFN(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *FNCount, + bool *FNProcessed, vCard *ContactData); + void LoadN(wxString wxSPropertySeg1, wxString wxSPropertySeg2, bool *NameProcessed, + vCard *ContactData); + void LoadNickname(wxString wxSpropertySeg1, wxString wxSPropertySeg2, + int *NicknameCount, vCard *ContactData); + void LoadGender(wxString wxSPropertySeg1, wxString wxSPropertySeg2, bool *GenderProcessed, + vCard *ContactData); + void LoadBDay(wxString wxSPropertySeg1, wxString wxSPropertySeg2, bool *BirthdayProcessed); + void LoadAnniversary(wxString wxSPropertySeg1, wxString wxSPropertySeg2, bool *AnniversaryProcessed); + void LoadTimeZone(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *TZCount); + void LoadADR(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *ADRCount); + void LoadEmail(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *ADRCount); + void LoadIM(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *IMPPCount); + void LoadTelephone(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *TelCount); + void LoadLanguage(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *LangCount); + void LoadGeo(wxString wxSProptertySeg1, wxString wxSPropertySeg2, int *GeoCount); + void LoadRelated(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *RelatedCount); + void LoadURL(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *URLCount); + void LoadTitle(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *TitleCount); + void LoadRole(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *RoleCount); + void LoadOrg(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *OrgCount); + void LoadNote(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *NoteCount); + void LoadCategory(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *CategoryCount); + void LoadPhoto(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *PhotoCount); + void LoadLogo(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *PhotoCount); + void LoadSound(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *SoundCount); + void LoadCalURI(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *CalAdrCount); + void LoadCalAdrURI(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *CalReqAdrCount); + void LoadCalFreeBusy(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *FreeBusyCount); + void LoadKey(wxString wxSPropertySeg1, wxString wxSPropertySeg2, int *KeyCount); int intValueSeek = 1; bool IsGroup = FALSE;