#include <CommonsJavaScript/PrivateObject.h>
#include "ICalendar.h"
#include <CommonsJavaScript/JSCallbackManager.h>
+#include <Security.h>
namespace DeviceAPI {
namespace Calendar {
#define TIZEN_CALENDAR_PROPERTY_ID "id"
typedef WrtDeviceApis::CommonsJavaScript::PrivateObject<ICalendarPtr,
- WrtDeviceApis::CommonsJavaScript::NoOwnership> CalendarPrivObject;
+ WrtDeviceApis::CommonsJavaScript::NoOwnership> CalendarPrivObjectBase;
+
+class CalendarPrivObject :
+ public CalendarPrivObjectBase,
+ public DeviceAPI::Common::SecurityAccessor
+{
+public:
+ CalendarPrivObject(JSContextRef context, ICalendarPtr calendar) :
+ CalendarPrivObjectBase(context, calendar),
+ DeviceAPI::Common::SecurityAccessor()
+ {
+ }
+
+ virtual ~CalendarPrivObject()
+ {
+ }
+};
class JSCalendar
{