Changeset 6278
- Timestamp:
- Dec 9, 2009, 9:34:47 AM (15 years ago)
- Location:
- code/branches/presentation2/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/core/input/InputManager.h
r6183 r6278 171 171 std::pair<int, int> getMousePosition() const; 172 172 173 static InputManager& getInstance() { return *singletonPtr_s; } // tolua_export173 static InputManager& getInstance() { return Singleton<InputManager>::getInstance(); } // tolua_export 174 174 175 175 private: // functions -
code/branches/presentation2/src/libraries/core/input/KeyBinderManager.h
r6266 r6278 62 62 void setConfigValues(); 63 63 64 static KeyBinderManager& getInstance() { return Singleton<KeyBinderManager>::getInstance(); } //tolua_export 64 static KeyBinderManager& getInstance() //tolua_export 65 { return Singleton<KeyBinderManager>::getInstance(); } 65 66 //! Returns the currently selected KeyBinder 66 KeyBinder* getCurrent() { return this->currentBinder_; } //tolua_export 67 KeyBinder* getCurrent() //tolua_export 68 { return this->currentBinder_; } 67 69 //! Like getCurrent(), but returns it as InputHandler* (so you don't have to include KeyBinder.h) 68 70 InputHandler* getCurrentAsHandler(); … … 95 97 96 98 //! Bind 'command' to any key pressed after this call (use with care!) 97 inline void keybind(const std::string& command) { this->keybindInternal(command, false); } //tolua_export 99 inline void keybind(const std::string& command) //tolua_export 100 { this->keybindInternal(command, false); } 98 101 //! Bind 'command' to any key pressed after this call (use with care!), but temporarily (no file save) 99 102 inline void tkeybind(const std::string& command) -
code/branches/presentation2/src/orxonox/MoodManager.h
r6119 r6278 56 56 const std::string& getMood(); 57 57 58 static MoodManager& getInstance() 58 static MoodManager& getInstance() { return Singleton<MoodManager>::getInstance(); } // tolua_export 59 59 60 60 private: -
code/branches/presentation2/src/orxonox/sound/SoundManager.h
r6270 r6278 80 80 81 81 // tolua_begin 82 static SoundManager& getInstance() 83 { return Singleton<SoundManager>::getInstance(); } 82 static SoundManager& getInstance() { return Singleton<SoundManager>::getInstance(); } 84 83 85 84 std::string getDeviceName(unsigned int index) const
Note: See TracChangeset
for help on using the changeset viewer.