Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added UID to the SaveString function of ContactDataObject
[xestiaab/.git] / source / contacteditor / cdo / ContactDataObject-Save.cpp
index 2a436cb..0b059ea 100644 (file)
@@ -41,10 +41,22 @@ ContactSaveStatus ContactDataObject::SaveString(wxString *SaveData){
        SaveData->Append(wxT("//KW\n"));
        
 #endif
-       
-       // Process FN.
-       
+
        wxString ProcessData = "";
+
+       // Process UID.
+
+       if (UIDToken.size() > 0){
+               
+               ProcessData.Append("UID:");
+               ProcessData.Append(UIDToken);
+               ProcessData.Append("\n");
+               SaveData->Append(ProcessData);
+               ProcessData.clear();
+               
+       }
+
+       // Process FN.
        
        for (std::map<int, wxString>::iterator FNIter = FullNamesList.begin();
                FNIter != FullNamesList.end(); FNIter++){
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy