diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:49:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:49:08 +0300 |
commit | 5c3746562bafd61603c67958fc82ff097a69e3a4 (patch) | |
tree | c36e46dd4df2bc7388e7e82b6e6ae8294c4ecd02 /src/touchmanager.h | |
parent | 60b386b1a97a052cea867dd3a4f7a9c52394b312 (diff) | |
download | mv-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.gz mv-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.bz2 mv-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.xz mv-5c3746562bafd61603c67958fc82ff097a69e3a4.zip |
Add missing const and static into other classes.
Diffstat (limited to 'src/touchmanager.h')
-rw-r--r-- | src/touchmanager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/touchmanager.h b/src/touchmanager.h index 8668654ec..f937c1129 100644 --- a/src/touchmanager.h +++ b/src/touchmanager.h @@ -151,7 +151,7 @@ class TouchManager final : public ConfigListener void loadKeyboard(); - int getPadSize() + int getPadSize() const { return (mJoystickSize + 2) * 50; } void setInGame(const bool b); @@ -160,7 +160,7 @@ class TouchManager final : public ConfigListener void shutdown(); - void executeAction(const std::string &event); + static void executeAction(const std::string &event); private: TouchItem *mKeyboard; |