bump product version to 6.3.0.0.beta1
[LibreOffice.git] / sd / source / ui / remotecontrol / Receiver.hxx
blob586c1fe2953417bd48791e025d385c0420e2472f
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 <rtl/string.hxx>
13 #include <vcl/timer.hxx>
15 #include <vector>
16 #include <deque>
18 namespace sd { class Transmitter; }
20 namespace sd
23 // Timer is protected by the solar mutex => so are we.
24 class Receiver : private Timer
26 std::deque< std::vector< OString > > maExecQueue;
27 public:
28 explicit Receiver( Transmitter *aTransmitter );
29 virtual ~Receiver() override;
30 virtual void Invoke() override;
31 void pushCommand( const std::vector<OString> &rCommand );
32 static void executeCommand( const std::vector<OString> &aCommand );
34 private:
35 Transmitter *pTransmitter;
39 #endif // INCLUDED_SD_SOURCE_UI_REMOTECONTROL_RECEIVER_HXX