summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-24 18:44:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-24 18:44:29 +0300
commit15004b64d4fac07d91076e38c5a3031cc373d619 (patch)
tree72bf57f717038a072bfc7ba0fb561d724699758b /src
parent2db3122516fc742e3a0a694a4fdc647fbb4ed90a (diff)
downloadplus-15004b64d4fac07d91076e38c5a3031cc373d619.tar.gz
plus-15004b64d4fac07d91076e38c5a3031cc373d619.tar.bz2
plus-15004b64d4fac07d91076e38c5a3031cc373d619.tar.xz
plus-15004b64d4fac07d91076e38c5a3031cc373d619.zip
Move type Modifiable into separate file.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/Makefile.am1
-rw-r--r--src/enums/simpletypes/modifiable.h28
-rw-r--r--src/enums/simpletypes/simpletypes.h1
-rw-r--r--src/gui/widgets/skillinfo.h1
-rw-r--r--src/gui/windows/skilldialog.h2
-rw-r--r--src/gui/windows/statuswindow.h2
7 files changed, 35 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f8fa142fb..e257ca8ad 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1062,6 +1062,7 @@ SET(SRCS
enums/simpletypes/identified.h
enums/simpletypes/keep.h
enums/simpletypes/modal.h
+ enums/simpletypes/modifiable.h
enums/simpletypes/notify.h
enums/simpletypes/sfx.h
enums/simpletypes/showcenter.h
diff --git a/src/Makefile.am b/src/Makefile.am
index 5e721472a..d064556bb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1190,6 +1190,7 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \
enums/simpletypes/identified.h \
enums/simpletypes/keep.h \
enums/simpletypes/modal.h \
+ enums/simpletypes/modifiable.h \
enums/simpletypes/notify.h \
enums/simpletypes/sfx.h \
enums/simpletypes/showcenter.h \
diff --git a/src/enums/simpletypes/modifiable.h b/src/enums/simpletypes/modifiable.h
new file mode 100644
index 000000000..8710043f9
--- /dev/null
+++ b/src/enums/simpletypes/modifiable.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_MODIFIABLE_H
+#define ENUMS_SIMPLETYPES_MODIFIABLE_H
+
+#include "enums/simpletypes/simpledefines.h"
+
+defBoolEnum(Modifiable);
+
+#endif // ENUMS_SIMPLETYPES_MODIFIABLE_H
diff --git a/src/enums/simpletypes/simpletypes.h b/src/enums/simpletypes/simpletypes.h
index 5839bbe0e..951d2fc53 100644
--- a/src/enums/simpletypes/simpletypes.h
+++ b/src/enums/simpletypes/simpletypes.h
@@ -25,7 +25,6 @@
#include "localconsts.h"
-defBoolEnum(Modifiable);
defBoolEnum(AllPlayers);
defBoolEnum(AllowSort);
defBoolEnum(NpcNames);
diff --git a/src/gui/widgets/skillinfo.h b/src/gui/widgets/skillinfo.h
index cfe571f37..d97be7953 100644
--- a/src/gui/widgets/skillinfo.h
+++ b/src/gui/widgets/skillinfo.h
@@ -23,6 +23,7 @@
#ifndef GUI_WIDGETS_SKILLINFO_H
#define GUI_WIDGETS_SKILLINFO_H
+#include "enums/simpletypes/modifiable.h"
#include "enums/simpletypes/simpletypes.h"
#include "gui/color.h"
diff --git a/src/gui/windows/skilldialog.h b/src/gui/windows/skilldialog.h
index d067643f4..7c8329ce9 100644
--- a/src/gui/windows/skilldialog.h
+++ b/src/gui/windows/skilldialog.h
@@ -25,6 +25,8 @@
#include "gui/widgets/window.h"
+#include "enums/simpletypes/modifiable.h"
+
#include "listeners/actionlistener.h"
#include "resources/skillowner.h"
diff --git a/src/gui/windows/statuswindow.h b/src/gui/windows/statuswindow.h
index eea7f936e..44328e1df 100644
--- a/src/gui/windows/statuswindow.h
+++ b/src/gui/windows/statuswindow.h
@@ -25,6 +25,8 @@
#include "gui/widgets/window.h"
+#include "enums/simpletypes/modifiable.h"
+
#include "listeners/actionlistener.h"
#include "listeners/attributelistener.h"
#include "listeners/statlistener.h"