Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added code to process X-* in CalendarFreeBusyObject
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 3 Feb 2016 18:38:52 +0000 (18:38 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 3 Feb 2016 18:38:52 +0000 (18:38 +0000)
source/objects/calendarfreebusy/CalendarFreeBusy.cpp

index 9d73cde..31f6e9d 100644 (file)
@@ -693,5 +693,27 @@ void CalendarFreeBusyObject::ProcessData(){
                ObjectSeekCount++;
                
        }
+
+       ObjectSeekCount = 0;
+       
+       // Process data from X-*
+       
+       for(vector<string>::iterator iter = ObjectName.begin(); 
+               iter != ObjectName.end(); ++iter){
+                       
+               bool TokenData = false;
+               string PropertyTokens;
+               
+               if (iter->substr(0,2) == "X-" &&
+                       iter->size() > 2){
+                       
+                       XTokensData.push_back(ObjectData[ObjectSeekCount]);
+                       XTokensDataTokens.push_back(ObjectName[ObjectSeekCount]);
+                               
+               }
+               
+               ObjectSeekCount++;
+               
+       }
        
 }
\ 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