From 0d182030b8872fa22baffe3a5a97b6fa5f9d28c6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 May 2015 20:27:42 +0300 Subject: Move type UseResman into separate file. --- src/CMakeLists.txt | 1 + src/Makefile.am | 1 + src/enums/simpletypes/simpletypes.h | 1 - src/enums/simpletypes/useresman.h | 28 ++++++++++++++++++++++++++++ src/utils/xml.h | 1 + 5 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 src/enums/simpletypes/useresman.h diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b05892224..8bf4150cf 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1074,6 +1074,7 @@ SET(SRCS enums/simpletypes/simpledefines.h enums/simpletypes/simpletypes.h enums/simpletypes/trading.h + enums/simpletypes/useresman.h statuseffect.cpp statuseffect.h render/surfacegraphics.cpp diff --git a/src/Makefile.am b/src/Makefile.am index 262d68891..1f567329d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1202,6 +1202,7 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \ enums/simpletypes/simpledefines.h \ enums/simpletypes/simpletypes.h \ enums/simpletypes/trading.h \ + enums/simpletypes/useresman.h \ statuseffect.cpp \ statuseffect.h \ render/surfacegraphics.cpp \ diff --git a/src/enums/simpletypes/simpletypes.h b/src/enums/simpletypes/simpletypes.h index 7073b247d..93a3a4690 100644 --- a/src/enums/simpletypes/simpletypes.h +++ b/src/enums/simpletypes/simpletypes.h @@ -25,7 +25,6 @@ #include "localconsts.h" -defBoolEnum(UseResman); defBoolEnum(SkipError); defBoolEnum(UseArgs); diff --git a/src/enums/simpletypes/useresman.h b/src/enums/simpletypes/useresman.h new file mode 100644 index 000000000..275a0ac0a --- /dev/null +++ b/src/enums/simpletypes/useresman.h @@ -0,0 +1,28 @@ +/* + * 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 . + */ + +#ifndef ENUMS_SIMPLETYPES_USERESMAN_H +#define ENUMS_SIMPLETYPES_USERESMAN_H + +#include "enums/simpletypes/simpledefines.h" + +defBoolEnum(UseResman); + +#endif // ENUMS_SIMPLETYPES_USERESMAN_H diff --git a/src/utils/xml.h b/src/utils/xml.h index 105ff19e1..260f7d715 100644 --- a/src/utils/xml.h +++ b/src/utils/xml.h @@ -24,6 +24,7 @@ #define UTILS_XML_H #include "enums/simpletypes/simpletypes.h" +#include "enums/simpletypes/useresman.h" #include #include -- cgit v1.2.3-70-g09d2