if (argumentCount>=2) {
std::string method = converter.toString(arguments[1]);
- std::vector<CalendarEvent::EventAlarmType> convertedMethods;
+ std::vector<EventAlarm::EventAlarmType> convertedMethods;
convertedMethods.push_back(converter.toEventAlarmType(method));
alarm->setMethods(convertedMethods);
}
if (argumentCount>=2) {
std::string method = converter.toString(arguments[1]);
- std::vector<CalendarEvent::EventAlarmType> convertedMethods;
+ std::vector<EventAlarm::EventAlarmType> convertedMethods;
convertedMethods.push_back(converter.toEventAlarmType(method));
alarm->setMethods(convertedMethods);
}
return true;
} else if (JSStringIsEqualToUTF8CString(propertyName, TIZEN_CALENDAR_ALARM_METHOD)) {
std::string method = converter.toString(value);
- std::vector<CalendarEvent::EventAlarmType> convertedMethods;
+ std::vector<EventAlarm::EventAlarmType> convertedMethods;
convertedMethods.push_back(converter.toEventAlarmType(method));
alarm->setMethods(convertedMethods);
return true;