summaryrefslogtreecommitdiff
path: root/src/events/inputevent.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-23 17:25:24 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-23 17:25:24 +0300
commit16faca9102b7f6771fb0745d5b4bc694f966fca4 (patch)
treea6a1142744e9f9341a5356aa4476f0b418ec0c6c /src/events/inputevent.h
parent5d8efa68f4e913ec2b25f41d4607d582efaa2ac5 (diff)
downloadmv-16faca9102b7f6771fb0745d5b4bc694f966fca4.tar.gz
mv-16faca9102b7f6771fb0745d5b4bc694f966fca4.tar.bz2
mv-16faca9102b7f6771fb0745d5b4bc694f966fca4.tar.xz
mv-16faca9102b7f6771fb0745d5b4bc694f966fca4.zip
Into chat commands handlers send also event flags mask.
Diffstat (limited to 'src/events/inputevent.h')
-rw-r--r--src/events/inputevent.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/events/inputevent.h b/src/events/inputevent.h
index 1d750c86a..53f629a1d 100644
--- a/src/events/inputevent.h
+++ b/src/events/inputevent.h
@@ -51,11 +51,13 @@ struct InputEvent final
mask(mask0)
{ }
- InputEvent(const std::string &args0, ChatTab *const tab0) :
+ InputEvent(const std::string &args0,
+ ChatTab *const tab0,
+ const int mask0) :
args(args0),
tab(tab0),
action(-1),
- mask(0)
+ mask(mask0)
{ }
const std::string args;