}
+ // Process the ATTACH VALARM values.
+
+ if (CalendarAlarmData[CalendarAlarmDataSeek].AttachList.size() > 0){
+
+ for (int AttachListSeek = 0; AttachListSeek < CalendarAlarmData[CalendarAlarmDataSeek].AttachList.size();
+ AttachListSeek++){
+
+ DataLine += "ATTACH";
+
+ if (CalendarAlarmData[CalendarAlarmDataSeek].AttachListFormatType[AttachListSeek].size() > 0){
+
+ DataLine += ";FMTTYPE=";
+ DataLine += CalendarAlarmData[CalendarAlarmDataSeek].AttachListFormatType[AttachListSeek];
+
+ }
+
+ if (CalendarAlarmData[CalendarAlarmDataSeek].AttachListValue[AttachListSeek].size() > 0){
+
+ DataLine += ";VALUE=";
+ DataLine += CalendarAlarmData[CalendarAlarmDataSeek].AttachListValue[AttachListSeek];
+
+ }
+
+ if (CalendarAlarmData[CalendarAlarmDataSeek].AttachListEncoding[AttachListSeek].size() > 0){
+
+ DataLine += ";ENCODING=";
+ DataLine += CalendarAlarmData[CalendarAlarmDataSeek].AttachListEncoding[AttachListSeek];
+
+ }
+
+ if (CalendarAlarmData[CalendarAlarmDataSeek].AttachListTokens[AttachListSeek].size() > 0){
+
+ DataLine += ";";
+ DataLine += CalendarAlarmData[CalendarAlarmDataSeek].AttachListTokens[AttachListSeek];
+
+ }
+
+ DataLine += ":";
+ DataLine += CalendarAlarmData[CalendarAlarmDataSeek].AttachList[AttachListSeek];
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
+
+ }
+
*SaveData += "END:VALARM\n";
}
"TRIGGER;RELATED=END;VALUE=DATE-TIME;PUSH=BUTTON:20160220T160000Z\n"
"DURATION;FLYING=NO:PT5H\n"
"REPEAT;NEVER=SLEEP:PT5M\n"
+ "ATTACH;FMTTYPE=application/internet-shortcut:http://www.example.com/\n"
+ "ATTACH;FMTTYPE=application/internet-shortcut:http://www.example.com/page2.htm\n"
+ " l\n"
+ "ATTACH;FMTTYPE=text/plain;VALUE=BINARY;ENCODING=BASE64;STUPID=EXAMPLE:VGhpcyB\n"
+ " pcyBhbiBleGFtcGxlIGZpbGU=\n"
"END:VALARM\n"
"BEGIN:VALARM\n"
"ACTION;FLASHING=LIGHTS:DISPLAY\n"
"ATTENDEE;DIR=\"null:nodata\";SENT-BY=\"mailto:sent.by@example.com\";CN=\"Attendee \n"
" The Third\";CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED;LANGUAGE=kw;EXAMPLE=DATA:Atte\n"
" ndee Three\n"
+ "ATTACH;FMTTYPE=application/internet-shortcut:http://www.example.com/\n"
+ "ATTACH;FMTTYPE=application/internet-shortcut:http://www.example.com/page2.htm\n"
+ " l\n"
+ "ATTACH;FMTTYPE=text/plain;VALUE=BINARY;ENCODING=BASE64;STUPID=EXAMPLE:VGhpcyB\n"
+ " pcyBhbiBleGFtcGxlIGZpbGU=\n"
"END:VALARM\n"
"END:VEVENT\n"
"END:VCARD";