Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

init_linux.h

Go to the documentation of this file.
00001 /*
00002         $Id: init_linux.h,v 1.2 2000/07/15 20:03:03 sphair Exp $
00003 
00004         ------------------------------------------------------------------------
00005         ClanLib, the platform independent game SDK.
00006 
00007         This library is distributed under the GNU LIBRARY GENERAL PUBLIC LICENSE
00008         version 2. See COPYING for details.
00009 
00010         For a total list of contributers see CREDITS.
00011 
00012         ------------------------------------------------------------------------
00013 
00014         File purpose:
00015                 Initializes ClanLib under Linux. Home of the legendary main().
00016 */
00017 
00018 #ifndef header_init_linux
00019 #define header_init_linux
00020 
00021 #include <string>
00022 
00023 class CL_System_Unix
00024 {
00025 public:
00026 };
00027 
00028 class CL_Force_DispTarget
00029 // A library should create one single instance of this class to force
00030 // selection of a particular display target.
00031 // Example: libclanGL has a single global instance forcing the "glx" target.
00032 {
00033 public:
00034         CL_Force_DispTarget(const char *name);
00035 
00036         // I need this for checking whether we link against clanGL or clanCore
00037         static std::string get_name() { return name; }
00038         
00039 private:
00040         static std::string name;
00041 
00042 //      friend CL_System_Unix;
00043         friend CL_System_Unix;
00044 };
00045 
00046 #endif

Generated at Wed Apr 4 19:54:00 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001