diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-10-28 02:28:18 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-10-30 08:21:55 +0100 |
commit | 08a43cc97ccf88faa9d3a04afc3aacd2c885a2d1 (patch) | |
tree | 11f416701d1be0a962c7653ea86060f30f708b56 /avmedia/source/opengl/oglmanager.cxx | |
parent | 8d994f83568073eb79ab987069f740c3c940405e (diff) |
related: tdf#103884 remove gltf/collada feature
Change-Id: Icd26ad96c0337844ef1463dabfbe791caa00dd2d
Reviewed-on: https://gerrit.libreoffice.org/43972
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'avmedia/source/opengl/oglmanager.cxx')
-rw-r--r-- | avmedia/source/opengl/oglmanager.cxx | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/avmedia/source/opengl/oglmanager.cxx b/avmedia/source/opengl/oglmanager.cxx deleted file mode 100644 index 0f7cfddc77d4..000000000000 --- a/avmedia/source/opengl/oglmanager.cxx +++ /dev/null @@ -1,59 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - */ - -#include "oglmanager.hxx" -#include "oglframegrabber.hxx" -#include "oglplayer.hxx" - -#include <cppuhelper/supportsservice.hxx> - -using namespace com::sun::star; - -namespace avmedia { namespace ogl { - -OGLManager::OGLManager() -{ -} - -OGLManager::~OGLManager() -{ -} - -uno::Reference< media::XPlayer > SAL_CALL OGLManager::createPlayer( const OUString& rURL ) -{ - OGLPlayer* pPlayer( new OGLPlayer() ); - if( pPlayer->create(rURL) ) - return uno::Reference< media::XPlayer >(pPlayer); - else - { - delete pPlayer; - SAL_WARN("avmedia.opengl", "Can't create player for OpenGL model: " + rURL); - return uno::Reference< media::XPlayer >(); - } -} - -OUString SAL_CALL OGLManager::getImplementationName() -{ - return OUString("com.sun.star.comp.avmedia.Manager_OpenGL"); -} - -sal_Bool SAL_CALL OGLManager::supportsService( const OUString& rServiceName ) -{ - return cppu::supportsService(this, rServiceName); -} - -uno::Sequence< OUString > SAL_CALL OGLManager::getSupportedServiceNames() -{ - return { "com.sun.star.media.Manager_OpenGL" }; -} - -} // namespace ogl -} // namespace avmedia - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |