diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2015-06-14 12:22:01 +0200 |
---|---|---|
committer | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2015-06-14 17:44:54 +0200 |
commit | 0bf12a06b6344659fe964955a022c7f367598634 (patch) | |
tree | 54236f4823c8d68c0f7ccdc778246c23df3cd109 /include/vcl/opengl | |
parent | dd79dbedd6c7f889f5e39f146a1927d235bc8a59 (diff) |
Remove unused OpenGLObject
Change-Id: I5c4832bd076cc5f05f936ac0d6a80027344e40ff
Diffstat (limited to 'include/vcl/opengl')
-rw-r--r-- | include/vcl/opengl/IOpenGLRenderer.hxx | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/include/vcl/opengl/IOpenGLRenderer.hxx b/include/vcl/opengl/IOpenGLRenderer.hxx deleted file mode 100644 index f8c0116d6c98..000000000000 --- a/include/vcl/opengl/IOpenGLRenderer.hxx +++ /dev/null @@ -1,47 +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/. - */ - -#ifndef INCLUDED_VCL_OPENGL_IOPENGLRENDERER_HXX -#define INCLUDED_VCL_OPENGL_IOPENGLRENDERER_HXX - -class IOpenGLInfoProvider -{ -public: - virtual ~IOpenGLInfoProvider() {} - - virtual bool isOpenGLInitialized() = 0; -}; - -class IOpenGLRenderer -{ -public: - IOpenGLRenderer(): - mpInfoProvider(NULL) {} - virtual ~IOpenGLRenderer() {} - - bool isOpenGLInitialized() - { - if(mpInfoProvider) - return mpInfoProvider->isOpenGLInitialized(); - - return false; - } - - void setInfoProvider(IOpenGLInfoProvider* pInfo) - { - mpInfoProvider = pInfo; - } - -private: - IOpenGLInfoProvider* mpInfoProvider; -}; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |