From 4b05f8882e647b0c4398259f3159cd599bd5948a Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sat, 2 Jul 2016 22:14:01 +0100 Subject: [PATCH] Added KEY to the SaveString function of ContactDataObject --- .../cdo/ContactDataObject-Save.cpp | 83 +++++++++++++ source/contacteditor/cdo/ContactDataObject.h | 5 + source/tests/xestiaab_contactsave.h | 117 ++++++++++++++++++ 3 files changed, 205 insertions(+) diff --git a/source/contacteditor/cdo/ContactDataObject-Save.cpp b/source/contacteditor/cdo/ContactDataObject-Save.cpp index 39f4a2a..f88d9ee 100644 --- a/source/contacteditor/cdo/ContactDataObject-Save.cpp +++ b/source/contacteditor/cdo/ContactDataObject-Save.cpp @@ -613,6 +613,14 @@ ContactSaveStatus ContactDataObject::SaveString(wxString *SaveData){ &FreeBusyListMediatype, &FreeBusyListPref, &FreeBusyListTokens, SaveData); + // Process KEY. + + SaveKey(&KeyList, &KeyListAltID, + &KeyListPID, &KeyListType, + &KeyListKeyType, &KeyListDataEncType, + &KeyListDataType, &KeyListPref, + &KeyListTokens, SaveData); + // Write the end part of the vCard data file. SaveData->Append("END:VCARD"); @@ -2200,4 +2208,79 @@ void ContactDataObject::SaveFreeBusyURI(std::map *FreeBusyList, s } +} + +void ContactDataObject::SaveKey(map *KeyList, map *KeyListAltID, + map *KeyListPID, map *KeyListType, + map *KeyListKeyType, map *KeyListDataEncType, + map *KeyListDataType, map *KeyListPref, + map *KeyListTokens, wxString *SaveData){ + + wxString ProcessData = ""; + + for (std::map::iterator KeyIter = KeyList->begin(); + KeyIter != KeyList->end(); KeyIter++){ + + ProcessData.Append("KEY"); + + // Check if there is a value for TYPE. + + if ((*KeyListType)[KeyIter->first].size() > 0){ + + ProcessData.Append(";TYPE="); + ProcessData.Append((*KeyListType)[KeyIter->first]); + + } + + // Check if there is a value for ALTID. + + if ((*KeyListAltID)[KeyIter->first].size() > 0){ + + ProcessData.Append(";ALTID="); + ProcessData.Append((*KeyListAltID)[KeyIter->first]); + + } + + // Check if there is a value for PID. + + if ((*KeyListPID)[KeyIter->first].size() > 0){ + + ProcessData.Append(";PID="); + ProcessData.Append((*KeyListPID)[KeyIter->first]); + + } + + // Check if there is a value for PREF. + + if ((*KeyListPref)[KeyIter->first] > 0){ + + ProcessData.Append(";PREF="); + ProcessData.Append(wxString::Format("%i", (*KeyListPref)[KeyIter->first])); + + } + + // Check if there is a value for tokens. + + if ((*KeyListTokens)[KeyIter->first].size() > 0){ + + ProcessData.Append(";"); + ProcessData.Append((*KeyListTokens)[KeyIter->first]); + + } + + ProcessData.Append(":data:"); + ProcessData.Append((*KeyListDataType)[KeyIter->first]); + ProcessData.Append(";"); + ProcessData.Append((*KeyListDataEncType)[KeyIter->first]); + ProcessData.Append(","); + ProcessData.Append(KeyIter->second); + ProcessData.Append("\n"); + + ProcessData = OutputText(&ProcessData); + + SaveData->Append(ProcessData); + ProcessData.clear(); + + } + } \ No newline at end of file diff --git a/source/contacteditor/cdo/ContactDataObject.h b/source/contacteditor/cdo/ContactDataObject.h index 0cc1f23..1ad93c1 100644 --- a/source/contacteditor/cdo/ContactDataObject.h +++ b/source/contacteditor/cdo/ContactDataObject.h @@ -184,6 +184,11 @@ class ContactDataObject{ std::map *FreeBusyListPID, std::map *FreeBusyListType, std::map *FreeBusyListMediatype, std::map *FreeBusyListPref, std::map *FreeBusyListTokens, wxString *SaveData); + void SaveKey(map *KeyList, map *KeyListAltID, + map *KeyListPID, map *KeyListType, + map *KeyListKeyType, map *KeyListDataEncType, + map *KeyListDataType, map *KeyListPref, + map *KeyListTokens, wxString *SaveData); public: diff --git a/source/tests/xestiaab_contactsave.h b/source/tests/xestiaab_contactsave.h index a680d5a..1dd8b65 100644 --- a/source/tests/xestiaab_contactsave.h +++ b/source/tests/xestiaab_contactsave.h @@ -562,6 +562,123 @@ TEST(ContactSave, ContactSaveTests){ " ttp://example.com/home/freebusy\n" "FBURL;TYPE=work;ALTID=94;MEDIATYPE=text/stillwetink;PID=91;PREF=92;STATUS=BUS\n" " Y:http://example.com/business/freebusy\n" + "KEY;ALTID=54;PID=51;PREF=52;KEYS=JUSTONE:data:application/pgp-keys;base64,LS0\n" + " tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tClZlcnNpb246IEdudVBHIHYyCgptUU1\n" + " 1QkZaL0JyWVJDQUN2cTNueUl4dXJPOFovMHcwQWdkeUdhN1d2cWRpdk5OWVdEM3dmZkgrSi83R2o\n" + " 1dkNOClJwWFQ5TVI4SEdmR0Jwai9hc0NsajltbjhnRENMcVZJaXFybXZXK3dHbnhBVWxFU05VT20\n" + " 1cEx6NTRwTzBzOW0KYzJ5SDRkYWVYR3pRTXFLUit2TDZaTWpDc0pSRk1UWVAzSDlTMlBFaHFFMXl\n" + " 4TnBpRi9ZTS9jNGNOYmU5bEZsTgpKMnJ2QzA2bzZuMFlzYWtuZTk3bWlndGNyTUpZVDljVDF4cjB\n" + " 5YUhDekcrVXZqOG1RMnlGT0tpVEpxeGlCVEdhClRMWjJjTFBVZVFFbnpjSWNwNnhVTitQZlZYZzN\n" + " NVllHWUZQakk0aUg0anNCQUFDc1BEMmpYSExnYVVzLzJ5VHUKNVF4M1RKSHljVTArOXZidC85VDJ\n" + " KdGt3c1R5SXlqQnJ0eGd6QVFERENaaFZoNU5oOFJuSWlSRDFzMzNmN1RoZgp4eENUMU0yWHI3dWh\n" + " 1WVFTZ1FmNUFRYkFscDZpUk9xTms5VVlBeHNSWVdPelRFd3RWMGlCLzBJamwyZFBUTm1YClJxNW9\n" + " FN0JOT3JYZjEzMmM4NlFpNWdPbGVHbWNoNFEvUUZTbUYwT05FZCs4aVNWemMvaVdFTUh4SzROZ1Z\n" + " MN0kKc0FMMDVweGZhdWxpWlRlWVVGcGM1ajZnWHFpUExyNy93ODB4Q05vOWZsWmZXQkZzYVhMZm1\n" + " 0Z3I1MU9kYXhJNQpLZnFjRjg1cnVQSkZkZjJWb1hxRU81YXpHZ1VsS0xoZDg5NkZUR21tZEF0SUp\n" + " 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