Branch data Line data Source code
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 : : #include <com/sun/star/uno/Reference.hxx>
21 : : #include <com/sun/star/uno/XComponentContext.hpp>
22 : :
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"
31 : :
32 : :
33 : : using namespace ::com::sun::star;
34 : :
35 : : namespace slideshow
36 : : {
37 : : namespace internal
38 : : {
39 : :
40 : 0 : 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 : 0 : mxComponentContext( rComponentContext )
59 : 0 : {}
60 : :
61 : 0 : void SlideShowContext::dispose()
62 : : {
63 : 0 : mxComponentContext.clear();
64 : 0 : }
65 : :
66 : : } // namespace internal
67 : : } // namespace slideshow
68 : :
69 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|