Bump version to 6.0-36
[LibreOffice.git] / slideshow / source / engine / slideshowcontext.cxx
blob856c4d979c0168a895082a20725e4f8c4366cb0a
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #include <com/sun/star/uno/Reference.hxx>
21 #include <com/sun/star/uno/XComponentContext.hpp>
23 #include <slideshowcontext.hxx>
24 #include <subsettableshapemanager.hxx>
25 #include <screenupdater.hxx>
26 #include <eventqueue.hxx>
27 #include <activitiesqueue.hxx>
28 #include <usereventqueue.hxx>
29 #include <eventmultiplexer.hxx>
30 #include <unoviewcontainer.hxx>
33 using namespace ::com::sun::star;
35 namespace slideshow
37 namespace internal
40 SlideShowContext::SlideShowContext( SubsettableShapeManagerSharedPtr& rSubsettableShapeManager,
41 EventQueue& rEventQueue,
42 EventMultiplexer& rEventMultiplexer,
43 ScreenUpdater& rScreenUpdater,
44 ActivitiesQueue& rActivitiesQueue,
45 UserEventQueue& rUserEventQueue,
46 CursorManager& rCursorManager,
47 const UnoViewContainer& rViewContainer,
48 const uno::Reference<
49 uno::XComponentContext>& rComponentContext ) :
50 mpSubsettableShapeManager( rSubsettableShapeManager ),
51 mrEventQueue( rEventQueue ),
52 mrEventMultiplexer( rEventMultiplexer ),
53 mrScreenUpdater( rScreenUpdater ),
54 mrActivitiesQueue( rActivitiesQueue ),
55 mrUserEventQueue( rUserEventQueue ),
56 mrCursorManager( rCursorManager ),
57 mrViewContainer( rViewContainer ),
58 mxComponentContext( rComponentContext )
61 void SlideShowContext::dispose()
63 mxComponentContext.clear();
66 } // namespace internal
67 } // namespace slideshow
69 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */