Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added code to process CLASS in CalendarEventObject.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 24 Jan 2016 08:06:37 +0000 (08:06 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 24 Jan 2016 08:06:37 +0000 (08:06 +0000)
source/objects/calendarevent/CalendarEvent.cpp

index 372ffb1..7cc99a4 100644 (file)
@@ -271,4 +271,22 @@ void CalendarEventObject::ProcessData(){
                
        }
        
+       // Get the Class value.
+       
+       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;
+               
+       }
+       
 }
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