Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added code to check for an EMAIL VALARM.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 14 Feb 2016 14:26:47 +0000 (14:26 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 14 Feb 2016 14:26:47 +0000 (14:26 +0000)
source/objects/calendarevent/CalendarEvent.cpp

index 7b3e3e2..7a23341 100644 (file)
@@ -1456,7 +1456,7 @@ void CalendarEventObject::ProcessData(){
        
        // Process Alarm section.
        
-       ProcessAlarms();
+       //ProcessAlarms();
        
        int SeekCount = 0;
        int AlarmObjectCount = 0;
@@ -1474,6 +1474,7 @@ void CalendarEventObject::ProcessData(){
                bool AlarmTriggerFound = false;
                bool AlarmDurationFound = false;
                bool AlarmDescriptionFound = false;
+               bool AlarmSummaryFound = false;
                        
                DataReceived = ProcessTextVectors(&EventAlarmName[SeekCount], 
                                &EventAlarmData[SeekCount], false, "ACTION");
@@ -1920,6 +1921,14 @@ void CalendarEventObject::ProcessData(){
 
                        CalendarAlarmData.push_back(NewAlarmData);
                                
+               } else if (NewAlarmData.AlarmType == CALENDARALARM_EMAIL &&
+                       AlarmActionFound == true &&
+                       AlarmTriggerFound == true &&
+                       AlarmDescriptionFound == true &&
+                       AlarmSummaryFound == true){
+               
+                       CalendarAlarmData.push_back(NewAlarmData);
+                               
                }
                        
                SeekCount++;
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy