1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
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>
19 #include <vcl/timer.hxx>
20 #include <vcl/svapp.hxx>
24 #include "Transmitter.hxx"
29 // Timer is protected by the solar mutex => so are we.
30 class Receiver
: Timer
32 std::deque
< std::vector
< OString
> > maExecQueue
;
34 Receiver( Transmitter
*aTransmitter
);
36 virtual void Invoke() SAL_OVERRIDE
;
37 void pushCommand( const std::vector
<OString
> &rCommand
);
38 static void executeCommand( const std::vector
<OString
> &aCommand
);
41 Transmitter
*pTransmitter
;
45 #endif // INCLUDED_SD_SOURCE_UI_REMOTECONTROL_RECEIVER_HXX