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++){
SaveDataCompare = "BEGIN:VCARD\n"
"VERSION:4.0\n"
"PRODID:-//Xestia//Address Book Unit Testing//KW\n"
+ "UID:903588-9082374-989120310-AAFECDBCDF\n"
"FN;TYPE=work;LANGUAGE=kw;ALTID=500;PID=40;PREF=45;EXAMPLE=Baaa:Test Contact\n"
"TITLE;ALTID=20;LANGUAGE=text/plain;PID=21;PREF=22;EEP=LIGHT:Lord of Light\n"
"TITLE;TYPE=home;ALTID=30;LANGUAGE=grass/dry;PID=31;PREF=32;EEP=DARK:Lord of D\n"