Update change log and spec for wrt-plugins-tizen_0.4.70
[framework/web/wrt-plugins-tizen.git] / src / Calendar / JSCalendarTask.h
index 9abfbff..e33e57a 100755 (executable)
@@ -21,6 +21,7 @@
 
 #include <JavaScriptCore/JavaScript.h>
 #include "CalendarEvent.h"
+#include "JSCalendarItemProperties.h"
 #include <CommonsJavaScript/PrivateObject.h>
 
 namespace DeviceAPI {
@@ -33,8 +34,7 @@ namespace Calendar {
 #define TIZEN_CALENDAR_TASK_COMPLETED_DATE  "completedDate"
 #define TIZEN_CALENDAR_TASK_PROGRESS "progress"
 
-typedef WrtDeviceApis::CommonsJavaScript::PrivateObject<CalendarEventPtr,
-       WrtDeviceApis::CommonsJavaScript::NoOwnership> CalendarTaskPrivObject;
+typedef CalendarItemPropertiesPrivObject CalendarTaskPrivObject;
 
 class JSCalendarTask
 {
@@ -50,7 +50,7 @@ class JSCalendarTask
             JSContextRef ctx,
             const JSObjectRef object);
 
-       static JSObjectRef createJSCalendarTask(JSContextRef context, CalendarEventPtr task);
+       static JSObjectRef createJSCalendarTask(JSContextRef context, CalendarEventPtr task, const DeviceAPI::Common::SecurityAccessor *securityAccessor);
 
        static JSObjectRef constructor(JSContextRef context,
     JSObjectRef constructor,