From 94c882f9eaa7b27b18e62762e149f0fb38bfb93e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 May 2015 19:19:25 +0300 Subject: Move type AllowSort into separate file. --- src/CMakeLists.txt | 1 + src/Makefile.am | 1 + src/actormanager.h | 1 + src/enums/simpletypes/allowsort.h | 28 ++++++++++++++++++++++++++++ src/enums/simpletypes/simpletypes.h | 1 - 5 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 src/enums/simpletypes/allowsort.h 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 . + */ + +#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); -- cgit v1.2.3-70-g09d2