summaryrefslogtreecommitdiff
path: root/src/inputmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-22 01:34:49 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-22 01:34:49 +0300
commit3dcf21babe03cee5080a25e787e1d7e72124288e (patch)
tree7051c6beddd3e7e1de960bb84e46601db8e2e5c4 /src/inputmanager.h
parentc217b7141df580b686a0eef085bd0eb0a8e6771a (diff)
downloadmanaverse-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz
manaverse-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2
manaverse-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz
manaverse-3dcf21babe03cee5080a25e787e1d7e72124288e.zip
Add final keyword to most classes.
Diffstat (limited to 'src/inputmanager.h')
-rw-r--r--src/inputmanager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inputmanager.h b/src/inputmanager.h
index 213781bed..f3f5fc735 100644
--- a/src/inputmanager.h
+++ b/src/inputmanager.h
@@ -51,7 +51,7 @@ enum KeyTypes
INPUT_JOYSTICK = 3
};
-struct KeyItem
+struct KeyItem final
{
KeyItem() :
type(-1), value(-1)
@@ -66,7 +66,7 @@ struct KeyItem
int value;
};
-struct KeyFunction
+struct KeyFunction final
{
KeyItem values[KeyFunctionSize];
};
@@ -89,7 +89,7 @@ enum KeyCondition
COND_GAME2 = 2 + 8 + 16 + 64
};
-class InputManager
+class InputManager final
{
public:
InputManager();