summaryrefslogtreecommitdiff
path: root/src/input/inputfunction.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-17 22:11:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-17 22:11:37 +0300
commita01c8632961792ba92a5c0bda8308d1260444b41 (patch)
treeec31890d3ff8c9f0b9ef94b3e96216b5bd07728f /src/input/inputfunction.h
parent5c9a571bcfe1a1a3e007fc53cca9c4ebd0be68a5 (diff)
downloadmanaverse-a01c8632961792ba92a5c0bda8308d1260444b41.tar.gz
manaverse-a01c8632961792ba92a5c0bda8308d1260444b41.tar.bz2
manaverse-a01c8632961792ba92a5c0bda8308d1260444b41.tar.xz
manaverse-a01c8632961792ba92a5c0bda8308d1260444b41.zip
Rename KeyFunction into InputFunction.
Diffstat (limited to 'src/input/inputfunction.h')
-rw-r--r--src/input/inputfunction.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/input/inputfunction.h b/src/input/inputfunction.h
new file mode 100644
index 000000000..6345e875d
--- /dev/null
+++ b/src/input/inputfunction.h
@@ -0,0 +1,35 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2012-2014 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef INPUT_INPUTFUNCTION_H
+#define INPUT_INPUTFUNCTION_H
+
+#include "input/inputitem.h"
+
+#include "localconsts.h"
+
+const unsigned int inputFunctionSize = 3;
+
+struct InputFunction final
+{
+ InputItem values[inputFunctionSize];
+};
+
+#endif // INPUT_INPUTFUNCTION_H