Bump version to 6.4-15
[LibreOffice.git] / slideshow / source / engine / slideshowcontext.cxx
blob94d8c83cd96b678bb4678af850c1641d4329a6b3
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 MediaFileManager& rMediaFileManager,
48 const UnoViewContainer& rViewContainer,
49 const uno::Reference<
50 uno::XComponentContext>& rComponentContext ) :
51 mpSubsettableShapeManager( rSubsettableShapeManager ),
52 mrEventQueue( rEventQueue ),
53 mrEventMultiplexer( rEventMultiplexer ),
54 mrScreenUpdater( rScreenUpdater ),
55 mrActivitiesQueue( rActivitiesQueue ),
56 mrUserEventQueue( rUserEventQueue ),
57 mrCursorManager( rCursorManager ),
58 mrMediaFileManager( rMediaFileManager ),
59 mrViewContainer( rViewContainer ),
60 mxComponentContext( rComponentContext )
63 void SlideShowContext::dispose()
65 mxComponentContext.clear();
68 } // namespace internal
69 } // namespace slideshow
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */