#include "EventAlarm.h"
#include <CommonsJavaScript/Converter.h>
#include <CommonsJavaScript/ScopedJSStringRef.h>
+#include <Security.h>
namespace DeviceAPI {
namespace Calendar {
public:
using Converter::toJSValueRef;
public:
- explicit CalendarConverter(JSContextRef context, CalendarEvent::CalendarType calendarType=CalendarEvent::EVENT_TYPE);
+ explicit CalendarConverter(JSContextRef context, CalendarEvent::CalendarType calendarType=CalendarEvent::EVENT_TYPE,
+ DeviceAPI::Common::SecurityAccessor *securityAccessor=NULL);
+ explicit CalendarConverter(JSContextRef context, DeviceAPI::Common::SecurityAccessor *securityAccessor,
+ CalendarEvent::CalendarType calendarType=CalendarEvent::EVENT_TYPE);
virtual ~CalendarConverter();
CalendarEventPtr toItem(const JSValueRef value, bool updateMode);
private:
CalendarEvent::CalendarType m_calendarType;
+ DeviceAPI::Common::SecurityAccessor* m_securityAccessor;
};
}