#include <dpl/shared_ptr.h>
#include <CommonsJavaScript/PrivateObject.h>
#include <CommonsJavaScript/JSPendingOperationPrivateObject.h>
+#include <Security.h>
#include "IContactManager.h"
namespace DeviceAPI {
public EventContactManagerRemoveBatchAnswerReceiver,
public EventContactManagerFindAnswerReceiver,
public EventContactManagerChangeListenerListener,
+ public DeviceAPI::Common::SecurityAccessor,
public ContactManagerPrivObject
{
private:
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);
};