195ea2752SHerbert Dürr /**************************************************************
295ea2752SHerbert Dürr  *
395ea2752SHerbert Dürr  * Licensed to the Apache Software Foundation (ASF) under one
495ea2752SHerbert Dürr  * or more contributor license agreements.  See the NOTICE file
595ea2752SHerbert Dürr  * distributed with this work for additional information
695ea2752SHerbert Dürr  * regarding copyright ownership.  The ASF licenses this file
795ea2752SHerbert Dürr  * to you under the Apache License, Version 2.0 (the
895ea2752SHerbert Dürr  * "License"); you may not use this file except in compliance
995ea2752SHerbert Dürr  * with the License.  You may obtain a copy of the License at
1095ea2752SHerbert Dürr  *
1195ea2752SHerbert Dürr  *   http://www.apache.org/licenses/LICENSE-2.0
1295ea2752SHerbert Dürr  *
1395ea2752SHerbert Dürr  * Unless required by applicable law or agreed to in writing,
1495ea2752SHerbert Dürr  * software distributed under the License is distributed on an
1595ea2752SHerbert Dürr  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1695ea2752SHerbert Dürr  * KIND, either express or implied.  See the License for the
1795ea2752SHerbert Dürr  * specific language governing permissions and limitations
1895ea2752SHerbert Dürr  * under the License.
1995ea2752SHerbert Dürr  *
2095ea2752SHerbert Dürr  *************************************************************/
2195ea2752SHerbert Dürr 
22*4ba16609SHerbert Dürr #ifndef MACAVF_MANAGER_HXX
23*4ba16609SHerbert Dürr #define MACAVF_MANAGER_HXX
2495ea2752SHerbert Dürr 
25*4ba16609SHerbert Dürr #include "macavf_common.hxx"
2695ea2752SHerbert Dürr 
2795ea2752SHerbert Dürr #include "com/sun/star/media/XManager.hdl"
2895ea2752SHerbert Dürr 
2995ea2752SHerbert Dürr // -----------
3095ea2752SHerbert Dürr // - Manager -
3195ea2752SHerbert Dürr // -----------
3295ea2752SHerbert Dürr 
3395ea2752SHerbert Dürr namespace avmedia { namespace macavf {
3495ea2752SHerbert Dürr 
3595ea2752SHerbert Dürr class Manager : public ::cppu::WeakImplHelper2 < ::com::sun::star::media::XManager,
3695ea2752SHerbert Dürr                                                  ::com::sun::star::lang::XServiceInfo >
3795ea2752SHerbert Dürr {
3895ea2752SHerbert Dürr public:
3995ea2752SHerbert Dürr 
4095ea2752SHerbert Dürr     Manager( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr );
4195ea2752SHerbert Dürr     ~Manager();
4295ea2752SHerbert Dürr 
4395ea2752SHerbert Dürr     // XManager
4495ea2752SHerbert 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);
4595ea2752SHerbert Dürr 
4695ea2752SHerbert Dürr     // XServiceInfo
4795ea2752SHerbert Dürr     virtual ::rtl::OUString SAL_CALL getImplementationName(  ) throw (::com::sun::star::uno::RuntimeException);
4895ea2752SHerbert Dürr     virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException);
4995ea2752SHerbert Dürr     virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames(  ) throw (::com::sun::star::uno::RuntimeException);
5095ea2752SHerbert Dürr private:
5195ea2752SHerbert Dürr 
5295ea2752SHerbert Dürr     ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > mxMgr;
5395ea2752SHerbert Dürr };
5495ea2752SHerbert Dürr 
5595ea2752SHerbert Dürr } // namespace macavf
5695ea2752SHerbert Dürr } // namespace avmedia
5795ea2752SHerbert Dürr 
58*4ba16609SHerbert Dürr #endif // MACAVF_MANAGER_HXX
5995ea2752SHerbert Dürr 
60