diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-31 23:42:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-01 18:47:54 +0300 |
commit | ed3410d7eb61593a2235ddba97ce257c85e405a6 (patch) | |
tree | 565c93ff291f70749cda2f59a4cc6fcd015ff203 /src/keyevent.h | |
parent | 386dac2875f4a5ad4a534c403338db3b26239a68 (diff) | |
download | manaplus-ed3410d7eb61593a2235ddba97ce257c85e405a6.tar.gz manaplus-ed3410d7eb61593a2235ddba97ce257c85e405a6.tar.bz2 manaplus-ed3410d7eb61593a2235ddba97ce257c85e405a6.tar.xz manaplus-ed3410d7eb61593a2235ddba97ce257c85e405a6.zip |
Add const to more classes.
Diffstat (limited to 'src/keyevent.h')
-rw-r--r-- | src/keyevent.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/keyevent.h b/src/keyevent.h index f562dc108..c57544e97 100644 --- a/src/keyevent.h +++ b/src/keyevent.h @@ -32,19 +32,19 @@ class KeyEvent : public gcn::KeyEvent { public: - KeyEvent(gcn::Widget* source, - bool shiftPressed, - bool controlPressed, - bool altPressed, - bool metaPressed, - unsigned int type, - bool numericPad, - int actionId, + KeyEvent(gcn::Widget *const source, + const bool shiftPressed, + const bool controlPressed, + const bool altPressed, + const bool metaPressed, + const unsigned int type, + const bool numericPad, + const int actionId, const gcn::Key& key); virtual ~KeyEvent(); - int getActionId() + int getActionId() const { return mActionId; } protected: |