Changeset 1304 for code/branches/input/src/ois/OISKeyboard.h
- Timestamp:
- May 15, 2008, 10:35:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/input/src/ois/OISKeyboard.h
r1219 r1304 220 220 A KeyCode to check 221 221 */ 222 virtual bool isKeyDown( KeyCode key ) = 0;222 virtual bool isKeyDown( KeyCode key ) const = 0; 223 223 224 224 /** … … 235 235 Returns currently set callback.. or 0 236 236 */ 237 KeyListener* getEventCallback() {return mListener;}237 KeyListener* getEventCallback() const {return mListener;} 238 238 239 239 //! TextTranslation Mode … … 260 260 Returns current translation mode 261 261 */ 262 TextTranslationMode getTextTranslation() {return mTextMode;}262 TextTranslationMode getTextTranslation() const {return mTextMode;} 263 263 264 264 /** … … 286 286 Check modifier status 287 287 */ 288 bool isModifierDown( Modifier mod ) ;288 bool isModifierDown( Modifier mod ) const; 289 289 290 290 /** … … 293 293 (in the form of 1 is down and 0 is up) 294 294 */ 295 virtual void copyKeyStates( char keys[256] ) = 0;295 virtual void copyKeyStates( char keys[256] ) const = 0; 296 296 297 297 protected:
Note: See TracChangeset
for help on using the changeset viewer.