]> git.mxchange.org Git - flightgear.git/blob - utils/fgpanel/FGTextureLoaderInterface.hxx
Simplify logic now SGPath::desktop works on Windows.
[flightgear.git] / utils / fgpanel / FGTextureLoaderInterface.hxx
1 //
2 //  Written and (c) Torsten Dreyer - Torsten(at)t3r_dot_de
3 //
4 //  This program is free software; you can redistribute it and/or
5 //  modify it under the terms of the GNU General Public License as
6 //  published by the Free Software Foundation; either version 2 of the
7 //  License, or (at your option) any later version.
8 // 
9 //  This program is distributed in the hope that it will be useful, but
10 //  WITHOUT ANY WARRANTY; without even the implied warranty of
11 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 //  General Public License for more details.
13 //
14 //  You should have received a copy of the GNU General Public License
15 //  along with this program; if not, write to the Free Software
16 //  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17 //
18 #ifndef __FGTEXTURELOADERINTERFACE_HXX
19 #define __FGTEXTURELOADERINTERFACE_HXX
20 #include <simgear/compiler.h>
21 #if defined (SG_MAC)
22 #include <OpenGL/gl.h>
23 #else
24 #include <GL/gl.h>
25 #endif
26 #include <string>
27 class FGTextureLoaderInterface {
28 public:
29   virtual GLuint loadTexture( const std::string & filename ) = 0;
30 };
31 #endif