summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-29 19:05:52 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-29 20:53:56 +0300
commit864e023e0faeca5aa662023a54af7e4f9797fafa (patch)
treeae76f85900e16e2c15d82b661077a265ecdd2276 /src/gui/windows
parent4c4d59b85e3b89812cede60dea8cf0d0185695ae (diff)
downloadmv-864e023e0faeca5aa662023a54af7e4f9797fafa.tar.gz
mv-864e023e0faeca5aa662023a54af7e4f9797fafa.tar.bz2
mv-864e023e0faeca5aa662023a54af7e4f9797fafa.tar.xz
mv-864e023e0faeca5aa662023a54af7e4f9797fafa.zip
Move foreach macroses into separate file.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/buydialog.cpp1
-rw-r--r--src/gui/windows/buyselldialog.cpp1
-rw-r--r--src/gui/windows/charselectdialog.cpp2
-rw-r--r--src/gui/windows/chatwindow.cpp1
-rw-r--r--src/gui/windows/editdialog.cpp1
-rw-r--r--src/gui/windows/emotewindow.cpp1
-rw-r--r--src/gui/windows/equipmentwindow.cpp1
-rw-r--r--src/gui/windows/helpwindow.cpp1
-rw-r--r--src/gui/windows/minimap.cpp1
-rw-r--r--src/gui/windows/ministatuswindow.cpp1
-rw-r--r--src/gui/windows/questswindow.cpp1
-rw-r--r--src/gui/windows/serverdialog.cpp1
-rw-r--r--src/gui/windows/serverinfowindow.cpp1
-rw-r--r--src/gui/windows/setupwindow.cpp1
-rw-r--r--src/gui/windows/shopwindow.cpp1
-rw-r--r--src/gui/windows/shortcutwindow.cpp1
-rw-r--r--src/gui/windows/statuswindow.cpp1
-rw-r--r--src/gui/windows/updaterwindow.cpp1
-rw-r--r--src/gui/windows/whoisonline.cpp1
19 files changed, 20 insertions, 0 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp
index edac6293d..b2249f66c 100644
--- a/src/gui/windows/buydialog.cpp
+++ b/src/gui/windows/buydialog.cpp
@@ -59,6 +59,7 @@
#include "resources/db/unitsdb.h"
#include "utils/delete2.h"
+#include "utils/foreach.h"
#include <algorithm>
diff --git a/src/gui/windows/buyselldialog.cpp b/src/gui/windows/buyselldialog.cpp
index 009a24839..26cf2af17 100644
--- a/src/gui/windows/buyselldialog.cpp
+++ b/src/gui/windows/buyselldialog.cpp
@@ -31,6 +31,7 @@
#include "gui/widgets/button.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include "debug.h"
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp
index cd801f61d..00fafdf1f 100644
--- a/src/gui/windows/charselectdialog.cpp
+++ b/src/gui/windows/charselectdialog.cpp
@@ -48,6 +48,8 @@
#include "net/net.h"
#include "net/serverfeatures.h"
+#include "utils/foreach.h"
+
#include "resources/db/unitsdb.h"
#include "debug.h"
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index 80c24af0a..eea0905cf 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -75,6 +75,7 @@
#include "utils/copynpaste.h"
#include "utils/delete2.h"
+#include "utils/foreach.h"
#include "utils/translation/podict.h"
diff --git a/src/gui/windows/editdialog.cpp b/src/gui/windows/editdialog.cpp
index be62c13b5..e14b96191 100644
--- a/src/gui/windows/editdialog.cpp
+++ b/src/gui/windows/editdialog.cpp
@@ -24,6 +24,7 @@
#include "gui/widgets/button.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include "debug.h"
diff --git a/src/gui/windows/emotewindow.cpp b/src/gui/windows/emotewindow.cpp
index 0125177b1..981fb0b11 100644
--- a/src/gui/windows/emotewindow.cpp
+++ b/src/gui/windows/emotewindow.cpp
@@ -32,6 +32,7 @@
#include "gui/widgets/tabbedarea.h"
#include "utils/delete2.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include "utils/translation/podict.h"
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp
index d77302035..1a95f4eee 100644
--- a/src/gui/windows/equipmentwindow.cpp
+++ b/src/gui/windows/equipmentwindow.cpp
@@ -48,6 +48,7 @@
#include "utils/checkutils.h"
#include "utils/delete2.h"
#include "utils/dtor.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include "net/inventoryhandler.h"
diff --git a/src/gui/windows/helpwindow.cpp b/src/gui/windows/helpwindow.cpp
index ce121a98f..cd6e37941 100644
--- a/src/gui/windows/helpwindow.cpp
+++ b/src/gui/windows/helpwindow.cpp
@@ -41,6 +41,7 @@
#include "input/inputmanager.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include "utils/process.h"
diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp
index 869fede55..95d606618 100644
--- a/src/gui/windows/minimap.cpp
+++ b/src/gui/windows/minimap.cpp
@@ -52,6 +52,7 @@
#include "resources/loaders/imageloader.h"
#include "utils/gettext.h"
+#include "utils/foreach.h"
#include "utils/sdlcheckutils.h"
#include "debug.h"
diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp
index b3e63c226..312dd488a 100644
--- a/src/gui/windows/ministatuswindow.cpp
+++ b/src/gui/windows/ministatuswindow.cpp
@@ -47,6 +47,7 @@
#include "utils/delete2.h"
#include "utils/dtor.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include "debug.h"
diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp
index 615c23d64..af9f19369 100644
--- a/src/gui/windows/questswindow.cpp
+++ b/src/gui/windows/questswindow.cpp
@@ -46,6 +46,7 @@
#include "gui/widgets/staticbrowserbox.h"
#include "utils/delete2.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include "resources/questeffect.h"
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp
index ee5300d7d..6093b67b4 100644
--- a/src/gui/windows/serverdialog.cpp
+++ b/src/gui/windows/serverdialog.cpp
@@ -46,6 +46,7 @@
#include "gui/widgets/scrollarea.h"
#include "utils/delete2.h"
+#include "utils/foreach.h"
#include "utils/langs.h"
#include "debug.h"
diff --git a/src/gui/windows/serverinfowindow.cpp b/src/gui/windows/serverinfowindow.cpp
index dcede8063..d1eb8cb44 100644
--- a/src/gui/windows/serverinfowindow.cpp
+++ b/src/gui/windows/serverinfowindow.cpp
@@ -28,6 +28,7 @@
#include "gui/widgets/scrollarea.h"
#include "gui/widgets/staticbrowserbox.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include "utils/process.h"
diff --git a/src/gui/windows/setupwindow.cpp b/src/gui/windows/setupwindow.cpp
index bf5272d24..40354f62a 100644
--- a/src/gui/windows/setupwindow.cpp
+++ b/src/gui/windows/setupwindow.cpp
@@ -55,6 +55,7 @@
#include "utils/delete2.h"
#include "utils/dtor.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include "debug.h"
diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp
index 54656a66b..9ff15b024 100644
--- a/src/gui/windows/shopwindow.cpp
+++ b/src/gui/windows/shopwindow.cpp
@@ -77,6 +77,7 @@
#include "utils/checkutils.h"
#include "utils/delete2.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#ifdef TMWA_SUPPORT
diff --git a/src/gui/windows/shortcutwindow.cpp b/src/gui/windows/shortcutwindow.cpp
index ffac3d320..61a7e6b45 100644
--- a/src/gui/windows/shortcutwindow.cpp
+++ b/src/gui/windows/shortcutwindow.cpp
@@ -36,6 +36,7 @@
#include "gui/widgets/tabs/shortcuttab.h"
#include "utils/delete2.h"
+#include "utils/foreach.h"
#include "debug.h"
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp
index 3ec369b93..9fe112f78 100644
--- a/src/gui/windows/statuswindow.cpp
+++ b/src/gui/windows/statuswindow.cpp
@@ -55,6 +55,7 @@
#include "utils/delete2.h"
#include "utils/dtor.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include "debug.h"
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp
index 86045c62d..db7d48c36 100644
--- a/src/gui/windows/updaterwindow.cpp
+++ b/src/gui/windows/updaterwindow.cpp
@@ -50,6 +50,7 @@
#include "resources/db/moddb.h"
#include "utils/delete2.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include <sys/stat.h>
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp
index 697e3a0d5..3f253abc2 100644
--- a/src/gui/windows/whoisonline.cpp
+++ b/src/gui/windows/whoisonline.cpp
@@ -55,6 +55,7 @@
#include "net/playerhandler.h"
#include "net/serverfeatures.h"
+#include "utils/foreach.h"
#include "utils/gettext.h"
#include "utils/sdlhelper.h"