xref: /AOO41X/main/avmedia/source/macavf/macavf_manager.hxx (revision 4ba1660956c80eb18b1e904dd49c2cd0d4b9c49e)
1*4ba16609SHerbert Dürr /**************************************************************
2*4ba16609SHerbert Dürr  *
3*4ba16609SHerbert Dürr  * Licensed to the Apache Software Foundation (ASF) under one
4*4ba16609SHerbert Dürr  * or more contributor license agreements.  See the NOTICE file
5*4ba16609SHerbert Dürr  * distributed with this work for additional information
6*4ba16609SHerbert Dürr  * regarding copyright ownership.  The ASF licenses this file
7*4ba16609SHerbert Dürr  * to you under the Apache License, Version 2.0 (the
8*4ba16609SHerbert Dürr  * "License"); you may not use this file except in compliance
9*4ba16609SHerbert Dürr  * with the License.  You may obtain a copy of the License at
10*4ba16609SHerbert Dürr  *
11*4ba16609SHerbert Dürr  *   http://www.apache.org/licenses/LICENSE-2.0
12*4ba16609SHerbert Dürr  *
13*4ba16609SHerbert Dürr  * Unless required by applicable law or agreed to in writing,
14*4ba16609SHerbert Dürr  * software distributed under the License is distributed on an
15*4ba16609SHerbert Dürr  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*4ba16609SHerbert Dürr  * KIND, either express or implied.  See the License for the
17*4ba16609SHerbert Dürr  * specific language governing permissions and limitations
18*4ba16609SHerbert Dürr  * under the License.
19*4ba16609SHerbert Dürr  *
20*4ba16609SHerbert Dürr  *************************************************************/
21*4ba16609SHerbert Dürr 
22*4ba16609SHerbert Dürr #ifndef MACAVF_MANAGER_HXX
23*4ba16609SHerbert Dürr #define MACAVF_MANAGER_HXX
24*4ba16609SHerbert Dürr 
25*4ba16609SHerbert Dürr #include "macavf_common.hxx"
26*4ba16609SHerbert Dürr 
27*4ba16609SHerbert Dürr #include "com/sun/star/media/XManager.hdl"
28*4ba16609SHerbert Dürr 
29*4ba16609SHerbert Dürr // -----------
30*4ba16609SHerbert Dürr // - Manager -
31*4ba16609SHerbert Dürr // -----------
32*4ba16609SHerbert Dürr 
33*4ba16609SHerbert Dürr namespace avmedia { namespace macavf {
34*4ba16609SHerbert Dürr 
35*4ba16609SHerbert Dürr class Manager : public ::cppu::WeakImplHelper2 < ::com::sun::star::media::XManager,
36*4ba16609SHerbert Dürr                                                  ::com::sun::star::lang::XServiceInfo >
37*4ba16609SHerbert Dürr {
38*4ba16609SHerbert Dürr public:
39*4ba16609SHerbert Dürr 
40*4ba16609SHerbert Dürr     Manager( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr );
41*4ba16609SHerbert Dürr     ~Manager();
42*4ba16609SHerbert Dürr 
43*4ba16609SHerbert Dürr     // XManager
44*4ba16609SHerbert Dürr     virtual ::com::sun::star::uno::Reference< ::com::sun::star::media::XPlayer > SAL_CALL createPlayer( const ::rtl::OUString& aURL ) throw (::com::sun::star::uno::RuntimeException);
45*4ba16609SHerbert Dürr 
46*4ba16609SHerbert Dürr     // XServiceInfo
47*4ba16609SHerbert Dürr     virtual ::rtl::OUString SAL_CALL getImplementationName(  ) throw (::com::sun::star::uno::RuntimeException);
48*4ba16609SHerbert Dürr     virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException);
49*4ba16609SHerbert Dürr     virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames(  ) throw (::com::sun::star::uno::RuntimeException);
50*4ba16609SHerbert Dürr private:
51*4ba16609SHerbert Dürr 
52*4ba16609SHerbert Dürr     ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > mxMgr;
53*4ba16609SHerbert Dürr };
54*4ba16609SHerbert Dürr 
55*4ba16609SHerbert Dürr } // namespace macavf
56*4ba16609SHerbert Dürr } // namespace avmedia
57*4ba16609SHerbert Dürr 
58*4ba16609SHerbert Dürr #endif // MACAVF_MANAGER_HXX
59*4ba16609SHerbert Dürr 
60