Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added code to process the CLASS property in CalendarJournalObject.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 31 Jan 2016 14:34:13 +0000 (14:34 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 31 Jan 2016 14:34:13 +0000 (14:34 +0000)
source/objects/calendarjournal/CalendarJournal.cpp

index 92dce67..3e08b8a 100644 (file)
@@ -185,4 +185,22 @@ void CalendarJournalObject::ProcessData(){
                
        }
        
+       // Process the data from CLASS.
+       
+       DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "CLASS");
+       
+       if (DataReceived.begin() != DataReceived.end()){
+       
+               try {
+                       ClassDataTokens = DataReceived.begin()->first.substr(6);
+               }
+               
+               catch(const out_of_range &oor){
+                       // Do nothing as there is no data.
+               }               
+               
+               ClassData = DataReceived.begin()->second;
+               
+       }
+       
 }
\ No newline at end of file
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