13 #include "boost/bind.hpp"
25 mPluginContext(pluginContext),
28 this->initServiceListener();
31 void SessionStorageServiceProxy::initServiceListener()
35 boost::bind(&SessionStorageServiceProxy::onServiceAdded,
this, _1),
37 boost::bind(&SessionStorageServiceProxy::onServiceRemoved,
this, _1)
39 mServiceListener->open();
42 void SessionStorageServiceProxy::onServiceAdded(SessionStorageService* service)
44 mService.reset(service, null_deleter());
55 void SessionStorageServiceProxy::onServiceRemoved(SessionStorageService *service)
86 return mService->isValid();
91 return mService->getRootFolder();