diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-02-14 17:07:01 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-02-16 12:03:27 +0200 |
commit | f9685dc555cc79fe3a52caf9da39df37da750cd4 (patch) | |
tree | ce370d5377a2d8f374dafa0852505461a26e692f /sd/source/ui/remotecontrol/Communicator.hxx | |
parent | 3717bbf31d299a23f0753f01a6bad56656cfbe74 (diff) |
More work on the Impress Remote Control Bluetooth code for OS X
Mostly the work of Thorsten, from December, adapted to compile against
the current remote control code, and with one or two crucial things
added. Plus lots of SAL_INFO calls added; once it works well many of
them can be dropped. Does not work properly yet, do not cherry-pick
just this to 4.0.
Change-Id: I53361b49a2b6938c768be1ea0fc17eb5e46b6aa4
Diffstat (limited to 'sd/source/ui/remotecontrol/Communicator.hxx')
-rw-r--r-- | sd/source/ui/remotecontrol/Communicator.hxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sd/source/ui/remotecontrol/Communicator.hxx b/sd/source/ui/remotecontrol/Communicator.hxx index 10078bf63387..a783bacb7672 100644 --- a/sd/source/ui/remotecontrol/Communicator.hxx +++ b/sd/source/ui/remotecontrol/Communicator.hxx @@ -9,20 +9,17 @@ #ifndef _SD_IMPRESSREMOTE_COMMUNICATOR_HXX #define _SD_IMPRESSREMOTE_COMMUNICATOR_HXX -// SERVER -#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <vector> -#include <osl/socket.hxx> #include <rtl/ref.hxx> #include <salhelper/thread.hxx> #include <com/sun/star/presentation/XSlideShowController.hpp> -#include "BufferedStreamSocket.hxx" +#include "IBluetoothSocket.hxx" #define CHARSET RTL_TEXTENCODING_UTF8 namespace sd @@ -39,7 +36,7 @@ namespace sd class Communicator : public salhelper::Thread { public: - Communicator( BufferedStreamSocket *pSocket ); + Communicator( IBluetoothSocket *pSocket ); ~Communicator(); void presentationStarted( const css::uno::Reference< @@ -49,7 +46,7 @@ namespace sd private: void execute(); - BufferedStreamSocket *mpSocket; + IBluetoothSocket *mpSocket; Transmitter *pTransmitter; rtl::Reference<Listener> mListener; @@ -57,4 +54,5 @@ namespace sd } #endif // _SD_IMPRESSREMOTE_COMMUNICATOR_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |