int SeekCount = 0;
string PropertyName;
- // Look for BEGIN:VEVENT.
+ // Look for BEGIN:VTODO.
for (vector<string>::iterator iter = ObjectName.begin();
iter != ObjectName.end(); iter++){
}
SeekCount++;
-
+
}
SeekCount = 0;
SeekCount = 0;
- // Look for END:VEVENT.
+ // Look for END:VTODO.
for (vector<string>::iterator iter = ObjectName.begin();
iter != ObjectName.end(); iter++){
}
- // Check if the VEVENT is valid.
-
+ // Check if the VTODO is valid.
+
if (ValidBegin == true &&
ValidEnd == true &&
ValidDateTimeStamp == true &&
ValidUniqueID == true){
-
+
return CALENDAROBJECTVALID_OK;
} else {