diff options
Diffstat (limited to 'sd/source/ui/remotecontrol/Server.hxx')
-rw-r--r-- | sd/source/ui/remotecontrol/Server.hxx | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/Server.hxx b/sd/source/ui/remotecontrol/Server.hxx new file mode 100644 index 000000000000..6826e344bbb4 --- /dev/null +++ b/sd/source/ui/remotecontrol/Server.hxx @@ -0,0 +1,49 @@ + +#ifndef _SD_IMPRESSREMOTE_SERVER_HXX +#define _SD_IMPRESSREMOTE_SERVER_HXX + +// SERVER +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> +#include <sys/types.h> +#include <sys/socket.h> +#include <netinet/in.h> + +//#include <com/sun/star/presentation/AnimationEffect.hpp> + + +/** +* The port for use for the main communication between LibO and remote control app. +*/ +#define PORT 1599 + + +class XSlideShowController; + +class Receiver; + +namespace sd +{ + + class Server + { + public: + Server(); + ~Server(); + void setPresentationController( XSlideShowController aController) { mController = aController; } + + private: + int mSocket; +// static vector<Server> our_mServerList; + + void listen(); + + Receiver mReceiver; +// Transmitter mTransmitter; + }; + } +} + +#endif // _SD_IMPRESSREMOTE_SERVER_HXX
\ No newline at end of file |