diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-26 00:41:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-26 00:41:35 +0300 |
commit | 5344dc6cd9156a9b67da834c9b5b4be00a62992a (patch) | |
tree | e71a20fbc231ccec6e53a718758eea447cfc7069 /src/touchmanager.h | |
parent | 02822f84a25b261f02f5928a6cbefe103cd9491e (diff) | |
download | manaplus-5344dc6cd9156a9b67da834c9b5b4be00a62992a.tar.gz manaplus-5344dc6cd9156a9b67da834c9b5b4be00a62992a.tar.bz2 manaplus-5344dc6cd9156a9b67da834c9b5b4be00a62992a.tar.xz manaplus-5344dc6cd9156a9b67da834c9b5b4be00a62992a.zip |
Add missing checks into other files.
Diffstat (limited to 'src/touchmanager.h')
-rw-r--r-- | src/touchmanager.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/touchmanager.h b/src/touchmanager.h index a281d8357..e044e625f 100644 --- a/src/touchmanager.h +++ b/src/touchmanager.h @@ -110,16 +110,19 @@ class TouchManager final : public ConfigListener void init(); - void loadTouchItem(TouchItem **item, const std::string &name, + void loadTouchItem(TouchItem **item, + const std::string &name, const std::string &imageName, const std::string &text, - int x, int y, const int width, const int height, - const int type, const std::string &eventPressed, + int x, int y, + const int width, const int height, + const int type, + const std::string &eventPressed, const std::string &eventReleased, const TouchFuncPtr fAll = nullptr, const TouchFuncPtr fPressed = nullptr, const TouchFuncPtr fReleased = nullptr, - const TouchFuncPtr fOut = nullptr); + const TouchFuncPtr fOut = nullptr) A_NONNULL(2); void clear(); |