X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;ds=sidebyside;f=source%2Fcontacteditor%2FfrmContactEditor-Load.cpp;h=aa5b0e9d845df99ea4c13a6cf4896ef566726efb;hb=01a3141be71e31f6eabd97d65cb630ddeaa1a5c9;hp=ef9f4f4992af84719f103b3e38f48435852cfb1e;hpb=72333f7096a54d703f6d5e7a2489bf7a3a4126e1;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditor-Load.cpp b/source/contacteditor/frmContactEditor-Load.cpp index ef9f4f4..aa5b0e9 100644 --- a/source/contacteditor/frmContactEditor-Load.cpp +++ b/source/contacteditor/frmContactEditor-Load.cpp @@ -166,6 +166,45 @@ bool frmContactEditor::LoadContact(wxString Filename){ LoadMember(&ContactEditorData.GroupsList); + // Process the addresses (ADR) (frmContactEditor-LoadAddress.cpp) + + LoadAddress(&ContactEditorData.GeneralAddressList, + &ContactEditorData.GeneralAddressListTown, + &ContactEditorData.GeneralAddressListCounty, + &ContactEditorData.GeneralAddressListPostCode, + &ContactEditorData.GeneralAddressListPref, + &ContactEditorData.HomeAddressList, + &ContactEditorData.HomeAddressListTown, + &ContactEditorData.HomeAddressListCounty, + &ContactEditorData.HomeAddressListPostCode, + &ContactEditorData.HomeAddressListPref, + &ContactEditorData.BusinessAddressList, + &ContactEditorData.BusinessAddressListTown, + &ContactEditorData.BusinessAddressListCounty, + &ContactEditorData.BusinessAddressListPostCode, + &ContactEditorData.BusinessAddressListPref, + &ADRCount); + + // Process the timezones (TZ) (frmContactEditor-LoadTimeZone.cpp) + + LoadTimeZone(&ContactEditorData.GeneralTZList, + &ContactEditorData.GeneralTZListPref, + &ContactEditorData.HomeTZList, + &ContactEditorData.HomeTZListPref, + &ContactEditorData.BusinessTZList, + &ContactEditorData.BusinessTZListPref, + &TZCount); + + // Process the emails (frmContactEditor-LoadEmail.cpp) + + LoadEmail(&ContactEditorData.GeneralEmailList, + &ContactEditorData.GeneralEmailListPref, + &ContactEditorData.HomeEmailList, + &ContactEditorData.HomeEmailListPref, + &ContactEditorData.BusinessEmailList, + &ContactEditorData.BusinessEmailListPref, + &EmailCount); + for (std::map::iterator iter = ContactFileLines.begin(); iter != ContactFileLines.end(); ++iter){ @@ -315,13 +354,13 @@ bool frmContactEditor::LoadContact(wxString Filename){ LoadAnniversary(wxSPropertySeg1, wxSPropertySeg2, &AnniversaryProcessed); - }*/ else if (wxSProperty == wxT("TZ")){ + } else if (wxSProperty == wxT("TZ")){ // See frmContactEditor-LoadTimeZone.cpp LoadTimeZone(wxSPropertySeg1, wxSPropertySeg2, &TZCount); - } else if (wxSProperty == wxT("ADR")){ + } else if (wxSProperty == wxT("ADR")){ // See frmContactEditor-LoadAddress.cpp @@ -333,7 +372,7 @@ bool frmContactEditor::LoadContact(wxString Filename){ LoadEmail(wxSPropertySeg1, wxSPropertySeg2, &EmailCount); - } else if (wxSProperty == wxT("IMPP")){ + }*/ else if (wxSProperty == wxT("IMPP")){ // See frmContactEditor-LoadIM.cpp