From: Steve Brokenshire Date: Sun, 31 Jan 2016 15:53:40 +0000 (+0000) Subject: Added code to process the X-* property in CalendarJournalObject. X-Git-Tag: release-0.02~441 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=1e97cbcadd0a37a1152145aba3dc6406480e5e10;p=xestiacalendar%2F.git Added code to process the X-* property in CalendarJournalObject. --- diff --git a/source/objects/calendarjournal/CalendarJournal.cpp b/source/objects/calendarjournal/CalendarJournal.cpp index c4869ed..97eac3d 100644 --- a/source/objects/calendarjournal/CalendarJournal.cpp +++ b/source/objects/calendarjournal/CalendarJournal.cpp @@ -1162,4 +1162,30 @@ void CalendarJournalObject::ProcessData(){ } + ObjectSeekCount = 0; + + // Process data from X-* + + for(vector::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