Update change log and spec for wrt-plugins-tizen_0.4.70
[framework/web/wrt-plugins-tizen.git] / src / Contact / ContactManagerController.h
index 0b9e9d4..e9b7fbf 100755 (executable)
@@ -28,6 +28,7 @@
 #include <dpl/shared_ptr.h>
 #include <CommonsJavaScript/PrivateObject.h>
 #include <CommonsJavaScript/JSPendingOperationPrivateObject.h>
+#include <Security.h>
 #include "IContactManager.h"
 
 namespace DeviceAPI {
@@ -48,6 +49,7 @@ class ContactManagerController :
        public EventContactManagerRemoveBatchAnswerReceiver,
        public EventContactManagerFindAnswerReceiver,
        public EventContactManagerChangeListenerListener,
+       public DeviceAPI::Common::SecurityAccessor,
     public ContactManagerPrivObject
 {
 private:
@@ -72,13 +74,13 @@ typedef DPL::SharedPtr<ContactManagerController> ContactManagerControllerPtr;
 class ContactManagerAsyncAnswerHandler
 {
 public:
-       static void getAddressBooks(const EventContactManagerGetAddressBooksPtr &event);
+       static void getAddressBooks(const EventContactManagerGetAddressBooksPtr &event, DeviceAPI::Common::SecurityAccessor *securityAccessor);
        static void updateBatch(const EventContactManagerUpdateBatchPtr &event);
        static void removeBatch(const EventContactManagerRemoveBatchPtr &event);
-       static void find(const EventContactManagerFindPtr &event);
+       static void find(const EventContactManagerFindPtr &event, DeviceAPI::Common::SecurityAccessor *securityAccessor);
        static void changeListenerError(const EventContactManagerChangeListenerPtr &event);
-       static void changeListenerPersonAdded(const EventContactManagerChangeListenerPtr &event);
-       static void changeListenerPersonUpdated(const EventContactManagerChangeListenerPtr &event);
+       static void changeListenerPersonAdded(const EventContactManagerChangeListenerPtr &event, DeviceAPI::Common::SecurityAccessor *securityAccessor);
+       static void changeListenerPersonUpdated(const EventContactManagerChangeListenerPtr &event, DeviceAPI::Common::SecurityAccessor *securityAccessor);
        static void changeListenerPersonRemoved(const EventContactManagerChangeListenerPtr &event);
 };