DataLine.clear();
DataLineProcessed.clear();
+
+ // Process the TRIGGER VALARM value.
+
+ if (CalendarAlarmData[CalendarAlarmDataSeek].TriggerData.size() > 0){
+
+ DataLine += "TRIGGER";
+
+ if (CalendarAlarmData[CalendarAlarmDataSeek].TriggerRelated.size() > 0){
+
+ DataLine += ";RELATED=";
+ DataLine += CalendarAlarmData[CalendarAlarmDataSeek].TriggerRelated;
+
+ }
+
+ if (CalendarAlarmData[CalendarAlarmDataSeek].TriggerValue.size() > 0){
+
+ DataLine += ";VALUE=";
+ DataLine += CalendarAlarmData[CalendarAlarmDataSeek].TriggerValue;
+
+ }
+ if (CalendarAlarmData[CalendarAlarmDataSeek].TriggerTokens.size() > 0){
+
+ DataLine += ";";
+ DataLine += CalendarAlarmData[CalendarAlarmDataSeek].TriggerTokens;
+
+ }
+
+ DataLine += ":";
+ DataLine += CalendarAlarmData[CalendarAlarmDataSeek].TriggerData;
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
+
*SaveData += "END:VALARM\n";
}
"RDATE;ZILCH=DATA:20160520\n"
"BEGIN:VALARM\n"
"ACTION;FUNKY=SOUNDS:AUDIO\n"
+ "TRIGGER;RELATED=END;VALUE=DATE-TIME;PUSH=BUTTON:20160220T160000Z\n"
"END:VALARM\n"
"BEGIN:VALARM\n"
"ACTION;FLASHING=LIGHTS:DISPLAY\n"
+ "TRIGGER;RELATED=END;VALUE=DATE-TIME;PUSH=BUTTON:20160230T110000Z\n"
"END:VALARM\n"
"BEGIN:VALARM\n"
"ACTION;FLASHING=LIGHTS:EMAIL\n"
+ "TRIGGER;RELATED=END;VALUE=DATE-TIME;PUSH=BUTTON:20160230T120000Z\n"
"END:VALARM\n"
"END:VEVENT\n"
"END:VCARD";