intValue2 = iter->first;
+ wxString strIMFinalValue = iter->second;
+
+ ProcessCaptureStrings(&strIMFinalValue);
+
+ if (ContactEditorData.GeneralIMListTypeInfo.find(iter->first) !=
+ ContactEditorData.GeneralIMListTypeInfo.end()){
+
+ std::map<int,wxString>::iterator DataTypeIter = ContactEditorData.GeneralIMListTypeInfo.find(iter->first);
+
+ strIMFinalValue.insert(0, ":");
+ strIMFinalValue.insert(0, DataTypeIter->second);
+
+ } else {
+
+ strIMFinalValue.insert(0, "none:");
+
+ }
+
// Process Alternative ID.
ProcessSaveData(wxT("IMPP"), &strValue2, &boolValue2, &boolValue,
- &iter, &ContactEditorData.GeneralIMList, &ContactData,
+ &iter, &strIMFinalValue, &ContactData,
wxT("ALTID"), &ContactEditorData.GeneralIMListAltID,
wxT("PID"), &ContactEditorData.GeneralIMListPID,
wxT("MEDIATYPE"), &ContactEditorData.GeneralIMListMediatype,
for (std::map<int,wxString>::iterator iter = ContactEditorData.HomeIMList.begin();
iter != ContactEditorData.HomeIMList.end(); ++iter){
+ wxString strIMFinalValue = iter->second;
+
+ ProcessCaptureStrings(&strIMFinalValue);
+
+ if (ContactEditorData.HomeIMListTypeInfo.find(iter->first) !=
+ ContactEditorData.HomeIMListTypeInfo.end()){
+
+ std::map<int,wxString>::iterator DataTypeIter = ContactEditorData.HomeIMListTypeInfo.find(iter->first);
+
+ strIMFinalValue.insert(0, ":");
+ strIMFinalValue.insert(0, DataTypeIter->second);
+
+ } else {
+
+ strIMFinalValue.insert(0, "none:");
+
+ }
+
ProcessSaveData(wxT("IMPP;TYPE=home"), &strValue2, &boolValue2, &boolValue,
&iter, &ContactEditorData.HomeIMList, &ContactData,
wxT("ALTID"), &ContactEditorData.HomeIMListAltID,
for (std::map<int,wxString>::iterator iter = ContactEditorData.BusinessIMList.begin();
iter != ContactEditorData.BusinessIMList.end(); ++iter){
+ wxString strIMFinalValue = iter->second;
+
+ ProcessCaptureStrings(&strIMFinalValue);
+
+ if (ContactEditorData.BusinessIMListTypeInfo.find(iter->first) !=
+ ContactEditorData.BusinessIMListTypeInfo.end()){
+
+ std::map<int,wxString>::iterator DataTypeIter = ContactEditorData.BusinessIMListTypeInfo.find(iter->first);
+
+ strIMFinalValue.insert(0, ":");
+ strIMFinalValue.insert(0, DataTypeIter->second);
+
+ } else {
+
+ strIMFinalValue.insert(0, "none:");
+
+ }
+
ProcessSaveData(wxT("IMPP;TYPE=work"), &strValue2, &boolValue2, &boolValue,
&iter, &ContactEditorData.BusinessIMList, &ContactData,
wxT("ALTID"), &ContactEditorData.BusinessIMListAltID,