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 <vcl/timer.hxx>
13 #include <com/sun/star/uno/Reference.hxx>
15 namespace com
{ namespace sun
{ namespace star
{ namespace presentation
{ class XSlideShowController
; } } } }
16 namespace sd
{ class Transmitter
; }
21 class ImagePreparer
: private Timer
23 sal_uInt32 mnSendingSlide
;
26 css::uno::Reference
<css::presentation::XSlideShowController
>&
27 rxController
, sd::Transmitter
*aTransmitter
);
28 virtual ~ImagePreparer() override
;
31 css::uno::Reference
<css::presentation::XSlideShowController
> xController
;
32 Transmitter
*pTransmitter
;
34 virtual void Invoke() 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: */