bump product version to 5.0.4.1
[LibreOffice.git] / sd / source / ui / remotecontrol / Receiver.hxx
blobad02ee4240200cb5560e851cb352a8d317b0fade
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9 #ifndef INCLUDED_SD_SOURCE_UI_REMOTECONTROL_RECEIVER_HXX
10 #define INCLUDED_SD_SOURCE_UI_REMOTECONTROL_RECEIVER_HXX
12 #include <com/sun/star/presentation/XSlideShowListener.hpp>
13 #include <com/sun/star/presentation/XSlideShowController.hpp>
14 #include <com/sun/star/presentation/XPresentationSupplier.hpp>
15 #include <com/sun/star/presentation/XPresentation.hpp>
16 #include <com/sun/star/presentation/XPresentation2.hpp>
17 #include <osl/socket.hxx>
18 #include <stdlib.h>
19 #include <vcl/timer.hxx>
20 #include <vcl/svapp.hxx>
22 #include <vector>
24 #include "Transmitter.hxx"
26 namespace sd
29 // Timer is protected by the solar mutex => so are we.
30 class Receiver : Timer
32 std::deque< std::vector< OString > > maExecQueue;
33 public:
34 Receiver( Transmitter *aTransmitter );
35 virtual ~Receiver();
36 virtual void Invoke() SAL_OVERRIDE;
37 void pushCommand( const std::vector<OString> &rCommand );
38 static void executeCommand( const std::vector<OString> &aCommand );
40 private:
41 Transmitter *pTransmitter;
45 #endif // INCLUDED_SD_SOURCE_UI_REMOTECONTROL_RECEIVER_HXX