Changeset 45:72d5105fcb72 in xplra for src/plugin/src/xplra/Globals.h
- Timestamp:
- 02/16/13 09:02:30 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/plugin/src/xplra/Globals.h
r44 r45 33 33 #include "MessageWindow.h" 34 34 #include "Menu.h" 35 #include "HotkeyHandler.h" 35 36 36 37 //------------------------------------------------------------------------------ … … 67 68 Menu menu; 68 69 70 /** 71 * The hotkey handler. 72 */ 73 HotkeyHandler hotkeyHandler; 74 69 75 public: 70 76 /** … … 82 88 */ 83 89 MessageWindow& getMessageWindow(); 90 91 /** 92 * Get the hotkey handler. 93 */ 94 HotkeyHandler& getHotkeyHandler(); 84 95 }; 85 96 86 97 //------------------------------------------------------------------------------ 87 98 // Inline definitions 99 //------------------------------------------------------------------------------ 100 101 inline void Globals::getVersions(int& xplaneV, int& xplmV) const 102 { 103 xplaneV = xplaneVersion; 104 xplmV = xplmVersion; 105 } 106 88 107 //------------------------------------------------------------------------------ 89 108 … … 95 114 //------------------------------------------------------------------------------ 96 115 97 inline void Globals::getVersions(int& xplaneV, int& xplmV) const116 inline HotkeyHandler& Globals::getHotkeyHandler() 98 117 { 99 xplaneV = xplaneVersion; 100 xplmV = xplmVersion; 118 return hotkeyHandler; 101 119 } 102 120
Note:
See TracChangeset
for help on using the changeset viewer.