KGLLib
kgllib.h
Go to the documentation of this file.00001 /* 00002 * Copyright (C) 2008 Rivo Laks <rivolaks@hot.ee> 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Library General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with this program. If not, see <http://www.gnu.org/licenses/>. 00016 */ 00017 00018 #ifndef KGLLIB_KGLLIB_H 00019 #define KGLLIB_KGLLIB_H 00020 00021 #include "GL/glew.h" 00022 00023 #include "kgllib_export.h" 00024 #include "kgllib_version.h" 00025 00026 00027 class QString; 00028 00034 namespace KGLLib 00035 { 00036 00037 class Renderer; 00038 00047 KGLLIB_EXPORT bool init(Renderer* r = 0); 00055 KGLLIB_EXPORT bool checkGLError(const QString& desc); 00056 00057 00063 extern KGLLIB_EXPORT Renderer* renderer; 00064 00065 } 00066 00067 #endif
KDE 4.2 API Reference