1*70f497fbSAndrew Rist /**************************************************************
2cdf0e10cSrcweir *
3*70f497fbSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*70f497fbSAndrew Rist * or more contributor license agreements. See the NOTICE file
5*70f497fbSAndrew Rist * distributed with this work for additional information
6*70f497fbSAndrew Rist * regarding copyright ownership. The ASF licenses this file
7*70f497fbSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*70f497fbSAndrew Rist * "License"); you may not use this file except in compliance
9*70f497fbSAndrew Rist * with the License. You may obtain a copy of the License at
10cdf0e10cSrcweir *
11*70f497fbSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13*70f497fbSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*70f497fbSAndrew Rist * software distributed under the License is distributed on an
15*70f497fbSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*70f497fbSAndrew Rist * KIND, either express or implied. See the License for the
17*70f497fbSAndrew Rist * specific language governing permissions and limitations
18*70f497fbSAndrew Rist * under the License.
19cdf0e10cSrcweir *
20*70f497fbSAndrew Rist *************************************************************/
21*70f497fbSAndrew Rist
22*70f497fbSAndrew Rist
23cdf0e10cSrcweir #include "precompiled_slideshow.hxx"
24cdf0e10cSrcweir
25cdf0e10cSrcweir #include <com/sun/star/uno/Reference.hxx>
26cdf0e10cSrcweir #include <com/sun/star/uno/XComponentContext.hpp>
27cdf0e10cSrcweir
28cdf0e10cSrcweir #include "slideshowcontext.hxx"
29cdf0e10cSrcweir #include "subsettableshapemanager.hxx"
30cdf0e10cSrcweir #include "screenupdater.hxx"
31cdf0e10cSrcweir #include "eventqueue.hxx"
32cdf0e10cSrcweir #include "activitiesqueue.hxx"
33cdf0e10cSrcweir #include "usereventqueue.hxx"
34cdf0e10cSrcweir #include "eventmultiplexer.hxx"
35cdf0e10cSrcweir #include "unoviewcontainer.hxx"
36cdf0e10cSrcweir
37cdf0e10cSrcweir
38cdf0e10cSrcweir using namespace ::com::sun::star;
39cdf0e10cSrcweir
40cdf0e10cSrcweir namespace slideshow
41cdf0e10cSrcweir {
42cdf0e10cSrcweir namespace internal
43cdf0e10cSrcweir {
44cdf0e10cSrcweir
SlideShowContext(SubsettableShapeManagerSharedPtr & rSubsettableShapeManager,EventQueue & rEventQueue,EventMultiplexer & rEventMultiplexer,ScreenUpdater & rScreenUpdater,ActivitiesQueue & rActivitiesQueue,UserEventQueue & rUserEventQueue,CursorManager & rCursorManager,const UnoViewContainer & rViewContainer,const uno::Reference<uno::XComponentContext> & rComponentContext)45cdf0e10cSrcweir SlideShowContext::SlideShowContext( SubsettableShapeManagerSharedPtr& rSubsettableShapeManager,
46cdf0e10cSrcweir EventQueue& rEventQueue,
47cdf0e10cSrcweir EventMultiplexer& rEventMultiplexer,
48cdf0e10cSrcweir ScreenUpdater& rScreenUpdater,
49cdf0e10cSrcweir ActivitiesQueue& rActivitiesQueue,
50cdf0e10cSrcweir UserEventQueue& rUserEventQueue,
51cdf0e10cSrcweir CursorManager& rCursorManager,
52cdf0e10cSrcweir const UnoViewContainer& rViewContainer,
53cdf0e10cSrcweir const uno::Reference<
54cdf0e10cSrcweir uno::XComponentContext>& rComponentContext ) :
55cdf0e10cSrcweir mpSubsettableShapeManager( rSubsettableShapeManager ),
56cdf0e10cSrcweir mrEventQueue( rEventQueue ),
57cdf0e10cSrcweir mrEventMultiplexer( rEventMultiplexer ),
58cdf0e10cSrcweir mrScreenUpdater( rScreenUpdater ),
59cdf0e10cSrcweir mrActivitiesQueue( rActivitiesQueue ),
60cdf0e10cSrcweir mrUserEventQueue( rUserEventQueue ),
61cdf0e10cSrcweir mrCursorManager( rCursorManager ),
62cdf0e10cSrcweir mrViewContainer( rViewContainer ),
63cdf0e10cSrcweir mxComponentContext( rComponentContext )
64cdf0e10cSrcweir {}
65cdf0e10cSrcweir
dispose()66cdf0e10cSrcweir void SlideShowContext::dispose()
67cdf0e10cSrcweir {
68cdf0e10cSrcweir mxComponentContext.clear();
69cdf0e10cSrcweir }
70cdf0e10cSrcweir
71cdf0e10cSrcweir } // namespace internal
72cdf0e10cSrcweir } // namespace slideshow
73