#include <JavaScriptCore/JavaScript.h>
#include "CalendarEvent.h"
+#include "JSCalendarItemProperties.h"
#include <CommonsJavaScript/PrivateObject.h>
namespace DeviceAPI {
#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
{
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,