summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-24 20:36:46 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-24 20:36:46 +0300
commitd73c6ed345178e21621f9f86d1b6b2bceddf6625 (patch)
tree71a5ac5826166d4f5061457713c1b5e894d24e98
parent0d182030b8872fa22baffe3a5a97b6fa5f9d28c6 (diff)
downloadmanaverse-d73c6ed345178e21621f9f86d1b6b2bceddf6625.tar.gz
manaverse-d73c6ed345178e21621f9f86d1b6b2bceddf6625.tar.bz2
manaverse-d73c6ed345178e21621f9f86d1b6b2bceddf6625.tar.xz
manaverse-d73c6ed345178e21621f9f86d1b6b2bceddf6625.zip
Move type SkipError into separate file.
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/Makefile.am1
-rw-r--r--src/enums/simpletypes/simpletypes.h1
-rw-r--r--src/enums/simpletypes/skiperror.h28
-rw-r--r--src/utils/xml.h1
5 files changed, 31 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 8bf4150cf..bdef2aa36 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1073,6 +1073,7 @@ SET(SRCS
enums/simpletypes/showcenter.h
enums/simpletypes/simpledefines.h
enums/simpletypes/simpletypes.h
+ enums/simpletypes/skiperror.h
enums/simpletypes/trading.h
enums/simpletypes/useresman.h
statuseffect.cpp
diff --git a/src/Makefile.am b/src/Makefile.am
index 1f567329d..b839b52b8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1201,6 +1201,7 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \
enums/simpletypes/showcenter.h \
enums/simpletypes/simpledefines.h \
enums/simpletypes/simpletypes.h \
+ enums/simpletypes/skiperror.h \
enums/simpletypes/trading.h \
enums/simpletypes/useresman.h \
statuseffect.cpp \
diff --git a/src/enums/simpletypes/simpletypes.h b/src/enums/simpletypes/simpletypes.h
index 93a3a4690..ea98531ed 100644
--- a/src/enums/simpletypes/simpletypes.h
+++ b/src/enums/simpletypes/simpletypes.h
@@ -25,7 +25,6 @@
#include "localconsts.h"
-defBoolEnum(SkipError);
defBoolEnum(UseArgs);
#endif // ENUMS_SIMPLETYPES_SIMPLETYPES_H
diff --git a/src/enums/simpletypes/skiperror.h b/src/enums/simpletypes/skiperror.h
new file mode 100644
index 000000000..b76cefdee
--- /dev/null
+++ b/src/enums/simpletypes/skiperror.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 <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef ENUMS_SIMPLETYPES_SKIPERROR_H
+#define ENUMS_SIMPLETYPES_SKIPERROR_H
+
+#include "enums/simpletypes/simpledefines.h"
+
+defBoolEnum(SkipError);
+
+#endif // ENUMS_SIMPLETYPES_SKIPERROR_H
diff --git a/src/utils/xml.h b/src/utils/xml.h
index 260f7d715..b96289b54 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/skiperror.h"
#include "enums/simpletypes/useresman.h"
#include <libxml/tree.h>