Changeset 5366 in orxonox.OLD for trunk/src/lib/gui/gl_gui/glgui_handler.cc
- Timestamp:
- Oct 12, 2005, 1:23:08 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/gui/gl_gui/glgui_handler.cc
r5316 r5366 10 10 11 11 ### File Specific: 12 main-programmer: ...12 main-programmer: Benjamin Grauer 13 13 co-programmer: ... 14 14 */ … … 16 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY 17 17 18 #include " proto_singleton.h"18 #include "glgui_handler.h" 19 19 20 20 using namespace std; 21 22 21 23 22 /** 24 23 * standard constructor 25 24 */ 26 ProtoSingleton::ProtoSingleton()25 GLGuiHandler::GLGuiHandler () 27 26 { 28 this->setClassID(CL_ PROTO_ID, "ProtoSingleton");29 this->setName(" ProtoSingleton");27 this->setClassID(CL_GLGUI_HANDLER, "GLGuiHandler"); 28 this->setName("GLGuiHandler"); 30 29 31 30 /* If you make a new class, what is most probably the case when you write this file … … 46 45 * the singleton reference to this class 47 46 */ 48 ProtoSingleton* ProtoSingleton::singletonRef = NULL;47 GLGuiHandler* GLGuiHandler::singletonRef = NULL; 49 48 50 49 /** 51 50 @brief standard deconstructor 52 51 */ 53 ProtoSingleton::~ProtoSingleton()52 GLGuiHandler::~GLGuiHandler () 54 53 { 55 ProtoSingleton::singletonRef = NULL;54 GLGuiHandler::singletonRef = NULL; 56 55 }
Note: See TracChangeset
for help on using the changeset viewer.