Added the code and unit tests for the X-Token property.
}
+ // Process the X-Token values.
+
+ if (XTokensData.size() > 0){
+
+ for (int XTokenSeek = 0; XTokenSeek < XTokensData.size();
+ XTokenSeek++){
+
+ DataLine += XTokensDataTokens[XTokenSeek];
+ DataLine += ":";
+ DataLine += XTokensData[XTokenSeek];
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
+
+ }
+
*SaveData += "END:VJOURNAL\n";
}
\ No newline at end of file
"REQUEST-STATUS;LANGUAGE=en:3.42;Really big irrecoverable error caused by the \n"
" user\n"
"REQUEST-STATUS;USER=MISSING:3.7;Invalid calendar user\n"
+ "X-EXAMPLE1:Moo\n"
+ "X-EXAMPLE1;ANIMAL=NOPE:Meep\n"
+ "X-EXAMPLE1;ANIMAL=CAT:Meow\n"
+ "X-EXAMPLE2:Dish\n"
+ "X-EXAMPLE2;OBJECT=KITCHEN:Fork\n"
+ "X-EXAMPLE2;OBJECT=LIVINGROOM:Table\n"
+ "X-STATUS;HOLIDAY=YES:Idle\n"
+ "X-TRANSPORT;PUBLIC=NO:Private Hire\n"
+ "X-PHANTOM-STATUS;HELP=NONE:None\n"
"END:VJOURNAL\n"
"END:VCALENDAR";