summaryrefslogtreecommitdiff
path: root/src/touchmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-26 00:41:35 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-26 00:41:35 +0300
commit5344dc6cd9156a9b67da834c9b5b4be00a62992a (patch)
treee71a20fbc231ccec6e53a718758eea447cfc7069 /src/touchmanager.h
parent02822f84a25b261f02f5928a6cbefe103cd9491e (diff)
downloadmv-5344dc6cd9156a9b67da834c9b5b4be00a62992a.tar.gz
mv-5344dc6cd9156a9b67da834c9b5b4be00a62992a.tar.bz2
mv-5344dc6cd9156a9b67da834c9b5b4be00a62992a.tar.xz
mv-5344dc6cd9156a9b67da834c9b5b4be00a62992a.zip
Add missing checks into other files.
Diffstat (limited to 'src/touchmanager.h')
-rw-r--r--src/touchmanager.h11
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();