1 /*************************************************************************
3 * OpenOffice.org - a multi-platform office productivity suite
9 * last change: $Author$ $Date$
11 * The Contents of this file are made available subject to
12 * the terms of GNU Lesser General Public License Version 2.1.
15 * GNU Lesser General Public License Version 2.1
16 * =============================================
17 * Copyright 2005 by Sun Microsystems, Inc.
18 * 901 San Antonio Road, Palo Alto, CA 94303, USA
20 * This library is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU Lesser General Public
22 * License version 2.1, as published by the Free Software Foundation.
24 * This library is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27 * Lesser General Public License for more details.
29 * You should have received a copy of the GNU Lesser General Public
30 * License along with this library; if not, write to the Free Software
31 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
34 ************************************************************************/
39 #include "gstcommon.hxx"
41 #ifndef _COM_SUN_STAR_MEDIA_XMANAGER_HDL_
42 #include "com/sun/star/media/XManager.hdl"
49 namespace avmedia
{ namespace gstreamer
{
51 class Manager
: public ::cppu::WeakImplHelper2
< ::com::sun::star::media::XManager
,
52 ::com::sun::star::lang::XServiceInfo
>
56 Manager( const ::com::sun::star::uno::Reference
< ::com::sun::star::lang::XMultiServiceFactory
>& rxMgr
);
60 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::media::XPlayer
> SAL_CALL
createPlayer( const ::rtl::OUString
& aURL
) throw (::com::sun::star::uno::RuntimeException
);
63 virtual ::rtl::OUString SAL_CALL
getImplementationName( ) throw (::com::sun::star::uno::RuntimeException
);
64 virtual sal_Bool SAL_CALL
supportsService( const ::rtl::OUString
& ServiceName
) throw (::com::sun::star::uno::RuntimeException
);
65 virtual ::com::sun::star::uno::Sequence
< ::rtl::OUString
> SAL_CALL
getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException
);
68 ::com::sun::star::uno::Reference
< ::com::sun::star::lang::XMultiServiceFactory
> mxMgr
;
71 } // namespace gstreamer
72 } // namespace avmedia
74 #endif // _MANAGER_HXX