summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/RemoteServer.hxx
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2012-08-10 18:42:49 +0200
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2012-08-10 18:43:44 +0200
commitf4ab85cb44664a4c46c52d5a34eee300947e6069 (patch)
tree642112abdc63e9ba0765fd702c492f3241cea34f /sd/source/ui/inc/RemoteServer.hxx
parentf6a24ace5ad12e79f0cc90709a290a30e3758781 (diff)
Pairing implemented server side.
Change-Id: I542e563df68d38691f7c95cebf66aeb32071bd66
Diffstat (limited to 'sd/source/ui/inc/RemoteServer.hxx')
-rw-r--r--sd/source/ui/inc/RemoteServer.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/sd/source/ui/inc/RemoteServer.hxx b/sd/source/ui/inc/RemoteServer.hxx
index a77f5aba873c..c64bf94de3e7 100644
--- a/sd/source/ui/inc/RemoteServer.hxx
+++ b/sd/source/ui/inc/RemoteServer.hxx
@@ -38,6 +38,7 @@ namespace css = ::com::sun::star;
namespace sd
{
class Communicator;
+ class BufferedStreamSocket;
struct ClientInfo
{
@@ -53,14 +54,14 @@ namespace sd
struct ClientInfoInternal:
ClientInfo
{
- osl::StreamSocket mStreamSocket;
+ BufferedStreamSocket *mpStreamSocket;
rtl::OUString mPin;
ClientInfoInternal( const rtl::OUString rName,
const rtl::OUString rAddress,
- osl::StreamSocket &rSocket, rtl::OUString rPin ):
+ BufferedStreamSocket *pSocket, rtl::OUString rPin ):
ClientInfo( rName, rAddress ),
- mStreamSocket( rSocket ),
+ mpStreamSocket( pSocket ),
mPin( rPin ) {}
};
@@ -77,7 +78,8 @@ namespace sd
// For the control dialog
SD_DLLPUBLIC static std::vector<ClientInfo*> getClients();
- SD_DLLPUBLIC static void connectClient( ClientInfo aClient, rtl::OString aPin );
+ SD_DLLPUBLIC static sal_Bool connectClient( ClientInfo *pClient,
+ rtl::OUString aPin );
// For the communicator
static void removeCommunicator( Communicator* pCommunicator );