X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;ds=inline;f=source%2Fobjects%2Fcalendarjournal%2FCalendarJournal.cpp;h=beb9755430aa013f6d4ae70c4257ec7ae1f23997;hb=1d8f15480f6e7e66bf66bcaa9ce58bed9dee8ee7;hp=c4869ed49e425da8db85a2c68589504546ab72ca;hpb=e4b9d9fe126291fc9a1a06b052ba4a7621328b26;p=xestiacalendar%2F.git
diff --git a/source/objects/calendarjournal/CalendarJournal.cpp b/source/objects/calendarjournal/CalendarJournal.cpp
index c4869ed..beb9755 100644
--- a/source/objects/calendarjournal/CalendarJournal.cpp
+++ b/source/objects/calendarjournal/CalendarJournal.cpp
@@ -1,3 +1,21 @@
+// CalendarJournal.cpp - CalendarJournal class functions
+//
+// (c) 2016-2017 Xestia Software Development.
+//
+// This file is part of Xestia Calendar.
+//
+// Xestia Calendar is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by the
+// Free Software Foundation, version 3 of the license.
+//
+// Xestia Calendar is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with Xestia Calendar. If not, see
+
#include "CalendarJournal.h"
using namespace std;
@@ -1162,4 +1180,26 @@ void CalendarJournalObject::ProcessData(){
}
+ ObjectSeekCount = 0;
+
+ // Process data from X-*
+
+ for(vector::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