Changeset 3339 for code/branches/resource/src/orxonox/gui/GUIManager.h
- Timestamp:
- Jul 23, 2009, 8:04:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/resource/src/orxonox/gui/GUIManager.h
r3338 r3339 47 47 #include "core/input/InputHandler.h" 48 48 49 // tolua_begin50 49 namespace orxonox 51 50 { … … 61 60 Those input events are then injected into CEGUI in Lua. 62 61 */ 63 class _OrxonoxExport GUIManager 64 // tolua_end 65 : public InputHandler 66 // tolua_begin 62 class _OrxonoxExport GUIManager : public InputHandler 67 63 { 68 // tolua_end69 64 public: 70 65 GUIManager(Ogre::RenderWindow* renderWindow); … … 78 73 void setCamera(Ogre::Camera* camera); 79 74 80 static GUIManager& getInstance() { assert(singletonRef_s); return *singletonRef_s; } // tolua_export75 static GUIManager& getInstance() { assert(singletonRef_s); return *singletonRef_s; } 81 76 static GUIManager* getInstancePtr() { return singletonRef_s; } 82 77 83 void getLevelList(); //tolua_export84 85 78 private: 86 GUIManager(const GUIManager& instance); //!< private constructor (this is a singleton class)79 GUIManager(const GUIManager& instance); //!< private and undefined copy c'tor (this is a singleton class) 87 80 88 81 void loadLuaCode(); … … 108 101 static GUIManager* singletonRef_s; //!< Singleton reference to GUIManager 109 102 110 }; // tolua_export111 } // tolua_export103 }; 104 } 112 105 113 106 #endif /* _GUIManager_H__ */
Note: See TracChangeset
for help on using the changeset viewer.