Update change log and spec for wrt-plugins-tizen_0.2.84
[framework/web/wrt-plugins-tizen.git] / src / standards / Tizen / Calendar / JSCalendarAlarm.cpp
index 897506c..250f254 100755 (executable)
@@ -148,7 +148,7 @@ JSObjectRef JSCalendarAlarm::constructor(JSContextRef context,
 
             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);
             }
@@ -161,7 +161,7 @@ JSObjectRef JSCalendarAlarm::constructor(JSContextRef context,
 
             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);
             }
@@ -307,7 +307,7 @@ bool JSCalendarAlarm::setProperty(JSContextRef context,
             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;