diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-24 20:44:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-24 20:44:21 +0300 |
commit | 9c6e1619b7416d85fa031036b70ebff4357d65ca (patch) | |
tree | 95f23cf84d35449f850c1a43e01620f9654d9199 | |
parent | d73c6ed345178e21621f9f86d1b6b2bceddf6625 (diff) | |
download | plus-9c6e1619b7416d85fa031036b70ebff4357d65ca.tar.gz plus-9c6e1619b7416d85fa031036b70ebff4357d65ca.tar.bz2 plus-9c6e1619b7416d85fa031036b70ebff4357d65ca.tar.xz plus-9c6e1619b7416d85fa031036b70ebff4357d65ca.zip |
Move type UseArgs into separate file.
-rw-r--r-- | src/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/enums/simpletypes/simpletypes.h | 2 | ||||
-rw-r--r-- | src/enums/simpletypes/useargs.h | 30 | ||||
-rw-r--r-- | src/input/inputactiondata.h | 2 |
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 { |