- Timestamp:
- Dec 2, 2009, 8:41:44 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/core/input/KeyBinderManager.h
r6190 r6214 37 37 #include "core/OrxonoxClass.h" 38 38 39 namespace orxonox 40 { 39 namespace orxonox //tolua_export 40 { //tolua_export 41 41 /** 42 42 @brief … … 51 51 will not work as expected! 52 52 */ 53 class _CoreExport KeyBinderManager : public Singleton<KeyBinderManager>, public OrxonoxClass 54 { 53 class _CoreExport KeyBinderManager //tolua_export 54 : public Singleton<KeyBinderManager>, public OrxonoxClass 55 { //tolua_export 55 56 friend class Singleton<KeyBinderManager>; 56 57 public: … … 59 60 void setConfigValues(); 60 61 62 static KeyBinderManager& getInstance() { return Singleton<KeyBinderManager>::getInstance(); } //tolua_export 61 63 //! Returns the currently selected KeyBinder 62 KeyBinder* getCurrent() 63 { return this->currentBinder_; } 64 KeyBinder* getCurrent() { return this->currentBinder_; } //tolua_export 64 65 //! Like getCurrent(), but returns it as InputHandler* (so you don't have to include KeyBinder.h) 65 66 InputHandler* getCurrentAsHandler(); … … 115 116 116 117 static KeyBinderManager* singletonPtr_s; 117 }; 118 } 118 }; //tolua_export 119 } //tolua_export 119 120 120 121 #endif /* _KeyBinderManager_H__ */
Note: See TracChangeset
for help on using the changeset viewer.