fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / avmedia / source / opengl / oglmanager.hxx
blobd4ccf1f209a20d34cc7e0ca60182efb62c801886
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/.
8 */
10 #ifndef INCLUDED_AVMEDIA_SOURCE_OPENGL_OGLMANAGER_HXX
11 #define INCLUDED_AVMEDIA_SOURCE_OPENGL_OGLMANAGER_HXX
13 #include <cppuhelper/compbase2.hxx>
14 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
15 #include <com/sun/star/lang/XServiceInfo.hpp>
16 #include <com/sun/star/media/XManager.hpp>
18 namespace avmedia { namespace ogl {
20 class OGLManager : public ::cppu::WeakImplHelper2 < com::sun::star::media::XManager,
21 com::sun::star::lang::XServiceInfo >
23 public:
25 explicit OGLManager( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rMgr );
26 virtual ~OGLManager();
28 // XManager
29 virtual ::com::sun::star::uno::Reference< ::com::sun::star::media::XPlayer > SAL_CALL createPlayer( const OUString& rURL ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
31 // XServiceInfo
32 virtual OUString SAL_CALL getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
33 virtual sal_Bool SAL_CALL supportsService( const OUString& rServiceName ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
34 virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
35 private:
37 ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xMgr;
40 } // namespace ogl
41 } // namespace avmedia
43 #endif // INCLUDED_AVMEDIA_SOURCE_OPENGL_OGLMANAGER_HXX
45 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */