summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-24 19:19:25 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-24 19:19:25 +0300
commit94c882f9eaa7b27b18e62762e149f0fb38bfb93e (patch)
tree1bb76e8f5cb0bed30a413ffe10f4a309cd4ec336 /src
parentde07739d70433e16819ee8096e61d50c8a420432 (diff)
downloadmanaplus-94c882f9eaa7b27b18e62762e149f0fb38bfb93e.tar.gz
manaplus-94c882f9eaa7b27b18e62762e149f0fb38bfb93e.tar.bz2
manaplus-94c882f9eaa7b27b18e62762e149f0fb38bfb93e.tar.xz
manaplus-94c882f9eaa7b27b18e62762e149f0fb38bfb93e.zip
Move type AllowSort into separate file.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/Makefile.am1
-rw-r--r--src/actormanager.h1
-rw-r--r--src/enums/simpletypes/allowsort.h28
-rw-r--r--src/enums/simpletypes/simpletypes.h1
5 files changed, 31 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 8e831828a..2c92b9505 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1055,6 +1055,7 @@ SET(SRCS
sprite.h
enums/screendensity.h
enums/state.h
+ enums/simpletypes/allowsort.h
enums/simpletypes/allplayers.h
enums/simpletypes/damaged.h
enums/simpletypes/equipm.h
diff --git a/src/Makefile.am b/src/Makefile.am
index 7156c0392..a7d8a413b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1183,6 +1183,7 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \
sprite.h \
enums/screendensity.h \
enums/state.h \
+ enums/simpletypes/allowsort.h \
enums/simpletypes/allplayers.h \
enums/simpletypes/damaged.h \
enums/simpletypes/equipm.h \
diff --git a/src/actormanager.h b/src/actormanager.h
index 967cbeacc..0f008c4b5 100644
--- a/src/actormanager.h
+++ b/src/actormanager.h
@@ -25,6 +25,7 @@
#include "flooritem.h"
+#include "enums/simpletypes/allowsort.h"
#include "enums/simpletypes/allplayers.h"
#include "listeners/configlistener.h"
diff --git a/src/enums/simpletypes/allowsort.h b/src/enums/simpletypes/allowsort.h
new file mode 100644
index 000000000..59347ba22
--- /dev/null
+++ b/src/enums/simpletypes/allowsort.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_ALLOWSORT_H
+#define ENUMS_SIMPLETYPES_ALLOWSORT_H
+
+#include "enums/simpletypes/simpledefines.h"
+
+defBoolEnum(AllowSort);
+
+#endif // ENUMS_SIMPLETYPES_ALLOWSORT_H
diff --git a/src/enums/simpletypes/simpletypes.h b/src/enums/simpletypes/simpletypes.h
index 973b4a489..59655e104 100644
--- a/src/enums/simpletypes/simpletypes.h
+++ b/src/enums/simpletypes/simpletypes.h
@@ -25,7 +25,6 @@
#include "localconsts.h"
-defBoolEnum(AllowSort);
defBoolEnum(NpcNames);
defBoolEnum(Enable);
defBoolEnum(ForceDisplay);