diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-24 17:10:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-24 17:10:31 +0300 |
commit | 7e440636ffadd3e4288a23a91dcac3872f4ea310 (patch) | |
tree | 0b8da66772deed1fa4209560ca9276fea14cb5b0 | |
parent | ffe46c13ca8e4393901db1226a6da11722c8f428 (diff) | |
download | manaverse-7e440636ffadd3e4288a23a91dcac3872f4ea310.tar.gz manaverse-7e440636ffadd3e4288a23a91dcac3872f4ea310.tar.bz2 manaverse-7e440636ffadd3e4288a23a91dcac3872f4ea310.tar.xz manaverse-7e440636ffadd3e4288a23a91dcac3872f4ea310.zip |
Move type ShowCenter into separate file.
-rw-r--r-- | src/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/enums/simpletypes/showcenter.h | 28 | ||||
-rw-r--r-- | src/enums/simpletypes/simpletypes.h | 1 | ||||
-rw-r--r-- | src/gui/dialogsmanager.h | 1 | ||||
-rw-r--r-- | src/gui/windows/okdialog.h | 2 |
6 files changed, 33 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 641e1b96d..2f048649f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1061,6 +1061,7 @@ SET(SRCS enums/simpletypes/favorite.h enums/simpletypes/identified.h enums/simpletypes/modal.h + enums/simpletypes/showcenter.h enums/simpletypes/simpledefines.h enums/simpletypes/simpletypes.h statuseffect.cpp diff --git a/src/Makefile.am b/src/Makefile.am index 8299896e2..40436ce58 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1189,6 +1189,7 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \ enums/simpletypes/favorite.h \ enums/simpletypes/identified.h \ enums/simpletypes/modal.h \ + enums/simpletypes/showcenter.h \ enums/simpletypes/simpledefines.h \ enums/simpletypes/simpletypes.h \ statuseffect.cpp \ diff --git a/src/enums/simpletypes/showcenter.h b/src/enums/simpletypes/showcenter.h new file mode 100644 index 000000000..86f5d0aac --- /dev/null +++ b/src/enums/simpletypes/showcenter.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_SHOWCENTER_H +#define ENUMS_SIMPLETYPES_SHOWCENTER_H + +#include "enums/simpletypes/simpledefines.h" + +defBoolEnum(ShowCenter); + +#endif // ENUMS_SIMPLETYPES_SHOWCENTER_H diff --git a/src/enums/simpletypes/simpletypes.h b/src/enums/simpletypes/simpletypes.h index 6c933a209..8d5f3189b 100644 --- a/src/enums/simpletypes/simpletypes.h +++ b/src/enums/simpletypes/simpletypes.h @@ -25,7 +25,6 @@ #include "localconsts.h" -defBoolEnum(ShowCenter); defBoolEnum(Notify); defBoolEnum(Trading); defBoolEnum(Sfx); diff --git a/src/gui/dialogsmanager.h b/src/gui/dialogsmanager.h index 270f29cc1..d7b68585f 100644 --- a/src/gui/dialogsmanager.h +++ b/src/gui/dialogsmanager.h @@ -24,6 +24,7 @@ #define GUI_DIALOGSMANAGER_H #include "enums/simpletypes/modal.h" +#include "enums/simpletypes/showcenter.h" #include "enums/simpletypes/simpletypes.h" #include "listeners/attributelistener.h" diff --git a/src/gui/windows/okdialog.h b/src/gui/windows/okdialog.h index 1a6b022d9..32c3c3131 100644 --- a/src/gui/windows/okdialog.h +++ b/src/gui/windows/okdialog.h @@ -25,6 +25,8 @@ #include "gui/widgets/window.h" +#include "enums/simpletypes/showcenter.h" + #include "listeners/actionlistener.h" #include "localconsts.h" |