}
+ // Process the VALARMS.
+
+ if (CalendarAlarmData.size() > 0){
+
+ for (int CalendarAlarmDataSeek = 0; CalendarAlarmDataSeek < CalendarAlarmData.size();
+ CalendarAlarmDataSeek++){
+
+ *SaveData += "BEGIN:VALARM\n";
+
+ // Process the ACTION VALARM value.
+
+ DataLine += "ACTION";
+
+ if (CalendarAlarmData[CalendarAlarmDataSeek].AlarmActionTokens.size() > 0){
+
+ DataLine += ";";
+ DataLine += CalendarAlarmData[CalendarAlarmDataSeek].AlarmActionTokens;
+
+ }
+
+ DataLine += ":";
+ DataLine += CalendarAlarmData[CalendarAlarmDataSeek].AlarmAction;
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ *SaveData += "END:VALARM\n";
+
+ }
+
+ }
+
*SaveData += "END:VEVENT\n";
}
\ No newline at end of file
"RDATE:20160120\n"
"RDATE;VALUE=DATE;TZID=Europe/Truro:20160121\n"
"RDATE;ZILCH=DATA:20160520\n"
+ "BEGIN:VALARM\n"
+ "ACTION;FUNKY=SOUNDS:AUDIO\n"
+ "END:VALARM\n"
+ "BEGIN:VALARM\n"
+ "ACTION;FLASHING=LIGHTS:DISPLAY\n"
+ "END:VALARM\n"
+ "BEGIN:VALARM\n"
+ "ACTION;FLASHING=LIGHTS:EMAIL\n"
+ "END:VALARM\n"
"END:VEVENT\n"
"END:VCARD";