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_IMAGEPREPARER_HXX
10 #define INCLUDED_SD_SOURCE_UI_REMOTECONTROL_IMAGEPREPARER_HXX
12 #include <osl/thread.hxx>
13 #include <vcl/timer.hxx>
14 #include <com/sun/star/presentation/XSlideShowController.hpp>
16 #include "Transmitter.hxx"
21 class ImagePreparer
: Timer
23 sal_uInt32 mnSendingSlide
;
26 css::uno::Reference
<css::presentation::XSlideShowController
>&
27 rxController
, sd::Transmitter
*aTransmitter
);
28 virtual ~ImagePreparer();
31 css::uno::Reference
<css::presentation::XSlideShowController
> xController
;
32 Transmitter
*pTransmitter
;
34 virtual void Invoke() SAL_OVERRIDE
;
36 void sendPreview( sal_uInt32 aSlideNumber
);
37 css::uno::Sequence
<sal_Int8
> preparePreview( sal_uInt32 aSlideNumber
,
38 sal_uInt32 aWidth
, sal_uInt32 aHeight
, sal_uInt64
&rSize
);
40 void sendNotes( sal_uInt32 aSlideNumber
);
41 OString
prepareNotes( sal_uInt32 aSlideNumber
);
46 #endif // INCLUDED_SD_SOURCE_UI_REMOTECONTROL_IMAGEPREPARER_HXX
47 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */