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

index c4869ed..97eac3d 100644 (file)
@@ -1162,4 +1162,30 @@ void CalendarJournalObject::ProcessData(){
                
        }
        
+       ObjectSeekCount = 0;
+       
+       // Process data from X-*
+       
+       for(vector<string>::iterator iter = ObjectName.begin(); 
+               iter != ObjectName.end(); ++iter){
+               
+               RequestStatusTokens.push_back("");
+               RequestStatusLanguage.push_back("");
+               RequestStatusData.push_back("");
+                       
+               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