summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/Makefile.am1
-rw-r--r--src/enums/simpletypes/simpletypes.h2
-rw-r--r--src/enums/simpletypes/useargs.h30
-rw-r--r--src/input/inputactiondata.h2
5 files changed, 33 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bdef2aa36..83d2061a8 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1075,6 +1075,7 @@ SET(SRCS
enums/simpletypes/simpletypes.h
enums/simpletypes/skiperror.h
enums/simpletypes/trading.h
+ enums/simpletypes/useargs.h
enums/simpletypes/useresman.h
statuseffect.cpp
statuseffect.h
diff --git a/src/Makefile.am b/src/Makefile.am
index b839b52b8..601c17dd5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1203,6 +1203,7 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \
enums/simpletypes/simpletypes.h \
enums/simpletypes/skiperror.h \
enums/simpletypes/trading.h \
+ enums/simpletypes/useargs.h \
enums/simpletypes/useresman.h \
statuseffect.cpp \
statuseffect.h \
diff --git a/src/enums/simpletypes/simpletypes.h b/src/enums/simpletypes/simpletypes.h
index ea98531ed..a34465232 100644
--- a/src/enums/simpletypes/simpletypes.h
+++ b/src/enums/simpletypes/simpletypes.h
@@ -25,6 +25,4 @@
#include "localconsts.h"
-defBoolEnum(UseArgs);
-
#endif // ENUMS_SIMPLETYPES_SIMPLETYPES_H
diff --git a/src/enums/simpletypes/useargs.h b/src/enums/simpletypes/useargs.h
new file mode 100644
index 000000000..163f449f4
--- /dev/null
+++ b/src/enums/simpletypes/useargs.h
@@ -0,0 +1,30 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2015 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 ENUMS_SIMPLETYPES_USEARGS_H
+#define ENUMS_SIMPLETYPES_USEARGS_H
+
+#include "enums/simpletypes/simpledefines.h"
+
+#include "localconsts.h"
+
+defBoolEnum(UseArgs);
+
+#endif // ENUMS_SIMPLETYPES_USEARGS_H
diff --git a/src/input/inputactiondata.h b/src/input/inputactiondata.h
index f85b8aee2..c0a2b975b 100644
--- a/src/input/inputactiondata.h
+++ b/src/input/inputactiondata.h
@@ -25,7 +25,7 @@
#include "actions/actionfuncptr.h"
-#include "enums/simpletypes/simpletypes.h"
+#include "enums/simpletypes/useargs.h"
struct InputActionData final
{