diff options
Diffstat (limited to 'sd/source/ui/inc/RemoteServer.hxx')
-rw-r--r-- | sd/source/ui/inc/RemoteServer.hxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sd/source/ui/inc/RemoteServer.hxx b/sd/source/ui/inc/RemoteServer.hxx index 531554ff2e77..91718f9a364e 100644 --- a/sd/source/ui/inc/RemoteServer.hxx +++ b/sd/source/ui/inc/RemoteServer.hxx @@ -16,9 +16,10 @@ #include <unistd.h> #endif #include <sys/types.h> -#include <memory> #include <vector> +#include <boost/shared_ptr.hpp> + #include <osl/mutex.hxx> #include <osl/socket.hxx> #include <rtl/ref.hxx> @@ -72,10 +73,10 @@ namespace sd static void presentationStopped(); // For the control dialog - SD_DLLPUBLIC static std::vector< std::shared_ptr< ClientInfo > > getClients(); - SD_DLLPUBLIC static bool connectClient( std::shared_ptr< ClientInfo > pClient, + SD_DLLPUBLIC static std::vector< ::boost::shared_ptr< ClientInfo > > getClients(); + SD_DLLPUBLIC static bool connectClient( ::boost::shared_ptr< ClientInfo > pClient, const OUString& aPin ); - SD_DLLPUBLIC static void deauthoriseClient( std::shared_ptr< ClientInfo > pClient ); + SD_DLLPUBLIC static void deauthoriseClient( ::boost::shared_ptr< ClientInfo > pClient ); /// ensure that discoverability (eg. for Bluetooth) is enabled SD_DLLPUBLIC static void ensureDiscoverable(); @@ -92,7 +93,7 @@ namespace sd static ::std::vector<Communicator*> sCommunicators; osl::AcceptorSocket mSocket; - ::std::vector< std::shared_ptr< ClientInfoInternal > > mAvailableClients; + ::std::vector< ::boost::shared_ptr< ClientInfoInternal > > mAvailableClients; void execute() SAL_OVERRIDE; }; |