LibreOffice Module slideshow (master) 1
slideshowcontext.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#ifndef INCLUDED_SLIDESHOW_SOURCE_INC_SLIDESHOWCONTEXT_HXX
21#define INCLUDED_SLIDESHOW_SOURCE_INC_SLIDESHOWCONTEXT_HXX
22
23#include <com/sun/star/uno/Reference.hxx>
24#include <memory>
25
26namespace com::sun::star::uno { class XComponentContext; }
27namespace box2d::utils { class box2DWorld;
28 typedef ::std::shared_ptr< box2DWorld > Box2DWorldSharedPtr; }
29
30
31
32namespace slideshow::internal
33 {
34 class ShapeManager;
35 class EventQueue;
36 class ActivitiesQueue;
37 class UserEventQueue;
38 class EventMultiplexer;
39 class ScreenUpdater;
40 class UnoViewContainer;
41 class CursorManager;
42 class MediaFileManager;
43 class SubsettableShapeManager;
44 typedef ::std::shared_ptr< SubsettableShapeManager > SubsettableShapeManagerSharedPtr;
45
52 {
87 SlideShowContext( SubsettableShapeManagerSharedPtr& rSubsettableShapeManager,
88 EventQueue& rEventQueue,
89 EventMultiplexer& rEventMultiplexer,
90 ScreenUpdater& rScreenUpdater,
91 ActivitiesQueue& rActivitiesQueue,
92 UserEventQueue& rUserEventQueue,
93 CursorManager& rCursorManager,
94 MediaFileManager& rMediaFileManager,
95 const UnoViewContainer& rViewContainer,
96 css::uno::Reference< css::uno::XComponentContext> xComponentContext,
97 box2d::utils::Box2DWorldSharedPtr& rBox2DWorldPtr );
98 void dispose();
99
100 std::shared_ptr<SubsettableShapeManager>& mpSubsettableShapeManager;
106 CursorManager& mrCursorManager;
109 css::uno::Reference< css::uno::XComponentContext> mxComponentContext;
111 };
112
113}
114
115#endif // INCLUDED_SLIDESHOW_SOURCE_INC_SLIDESHOWCONTEXT_HXX
116
117/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This class handles the XSprite updates needed for animations, such as moves, scales etc.
This class multiplexes user-activated and slide-show global events.
This class handles events in a presentation.
Definition: eventqueue.hxx:41
This class schedules user-activated events.
::std::shared_ptr< box2DWorld > Box2DWorldSharedPtr
::std::shared_ptr< SubsettableShapeManager > SubsettableShapeManagerSharedPtr
Common arguments for slideshow objects.
box2d::utils::Box2DWorldSharedPtr & mpBox2DWorld
std::shared_ptr< SubsettableShapeManager > & mpSubsettableShapeManager
const UnoViewContainer & mrViewContainer
SlideShowContext(SubsettableShapeManagerSharedPtr &rSubsettableShapeManager, EventQueue &rEventQueue, EventMultiplexer &rEventMultiplexer, ScreenUpdater &rScreenUpdater, ActivitiesQueue &rActivitiesQueue, UserEventQueue &rUserEventQueue, CursorManager &rCursorManager, MediaFileManager &rMediaFileManager, const UnoViewContainer &rViewContainer, css::uno::Reference< css::uno::XComponentContext > xComponentContext, box2d::utils::Box2DWorldSharedPtr &rBox2DWorldPtr)
Common context for node creation.
css::uno::Reference< css::uno::XComponentContext > mxComponentContext