From 864e023e0faeca5aa662023a54af7e4f9797fafa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 29 Jun 2017 19:05:52 +0300 Subject: Move foreach macroses into separate file. --- src/gui/widgets/basiccontainer.cpp | 2 ++ src/gui/widgets/browserbox.cpp | 1 + src/gui/widgets/characterviewnormal.cpp | 2 ++ src/gui/widgets/characterviewsmall.cpp | 1 + src/gui/widgets/emotepage.cpp | 1 + src/gui/widgets/listbox.cpp | 2 ++ src/gui/widgets/selldialog.cpp | 1 + src/gui/widgets/staticbrowserbox.cpp | 1 + src/gui/widgets/statspage.cpp | 2 ++ src/gui/widgets/statspagebasic.cpp | 1 + src/gui/widgets/tabbedarea.cpp | 1 + src/gui/widgets/tabs/setup_mods.cpp | 1 + src/gui/widgets/tabs/socialfriendstab.h | 1 + src/gui/widgets/tabs/socialguildtab.h | 1 + src/gui/widgets/tabs/socialguildtab2.h | 1 + src/gui/widgets/tabs/socialpartytab.h | 1 + src/gui/widgets/tabstrip.cpp | 2 ++ src/gui/widgets/vertcontainer.cpp | 2 ++ src/gui/widgets/widget.cpp | 2 ++ src/gui/widgets/windowcontainer.cpp | 1 + 20 files changed, 27 insertions(+) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/basiccontainer.cpp b/src/gui/widgets/basiccontainer.cpp index 771ba83f4..768733ae5 100644 --- a/src/gui/widgets/basiccontainer.cpp +++ b/src/gui/widgets/basiccontainer.cpp @@ -63,6 +63,8 @@ #include "gui/widgets/basiccontainer.h" +#include "utils/foreach.h" + #include "render/graphics.h" #include diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp index 08db7e3bf..7687737b5 100644 --- a/src/gui/widgets/browserbox.cpp +++ b/src/gui/widgets/browserbox.cpp @@ -45,6 +45,7 @@ #include "utils/browserboxtools.h" #include "utils/checkutils.h" +#include "utils/foreach.h" #include "utils/stringutils.h" #include "utils/timer.h" #include "utils/translation/podict.h" diff --git a/src/gui/widgets/characterviewnormal.cpp b/src/gui/widgets/characterviewnormal.cpp index c92ad7477..288428d60 100644 --- a/src/gui/widgets/characterviewnormal.cpp +++ b/src/gui/widgets/characterviewnormal.cpp @@ -24,6 +24,8 @@ #include "gui/widgets/characterdisplay.h" +#include "utils/foreach.h" + #include "debug.h" CharacterViewNormal::CharacterViewNormal(CharSelectDialog *const widget, diff --git a/src/gui/widgets/characterviewsmall.cpp b/src/gui/widgets/characterviewsmall.cpp index a861e5033..81580f9e1 100644 --- a/src/gui/widgets/characterviewsmall.cpp +++ b/src/gui/widgets/characterviewsmall.cpp @@ -24,6 +24,7 @@ #include "gui/widgets/characterdisplay.h" #include "gui/widgets/label.h" +#include "utils/foreach.h" #include "utils/stringutils.h" #include "debug.h" diff --git a/src/gui/widgets/emotepage.cpp b/src/gui/widgets/emotepage.cpp index 88f4addd4..afd165219 100644 --- a/src/gui/widgets/emotepage.cpp +++ b/src/gui/widgets/emotepage.cpp @@ -29,6 +29,7 @@ #include "resources/loaders/imagesetloader.h" #include "utils/delete2.h" +#include "utils/foreach.h" #include "debug.h" diff --git a/src/gui/widgets/listbox.cpp b/src/gui/widgets/listbox.cpp index 9628c2764..0bf590f6b 100644 --- a/src/gui/widgets/listbox.cpp +++ b/src/gui/widgets/listbox.cpp @@ -77,6 +77,8 @@ #include "listeners/selectionlistener.h" +#include "utils/foreach.h" + #include "render/graphics.h" #include "debug.h" diff --git a/src/gui/widgets/selldialog.cpp b/src/gui/widgets/selldialog.cpp index 2d613fae8..68b9a039f 100644 --- a/src/gui/widgets/selldialog.cpp +++ b/src/gui/widgets/selldialog.cpp @@ -40,6 +40,7 @@ #include "gui/widgets/slider.h" #include "utils/delete2.h" +#include "utils/foreach.h" #include "utils/gettext.h" #include "utils/stringutils.h" diff --git a/src/gui/widgets/staticbrowserbox.cpp b/src/gui/widgets/staticbrowserbox.cpp index ed9e1e17d..ef51660c0 100644 --- a/src/gui/widgets/staticbrowserbox.cpp +++ b/src/gui/widgets/staticbrowserbox.cpp @@ -45,6 +45,7 @@ #include "utils/browserboxtools.h" #include "utils/checkutils.h" +#include "utils/foreach.h" #include "utils/stringutils.h" #include "utils/translation/podict.h" diff --git a/src/gui/widgets/statspage.cpp b/src/gui/widgets/statspage.cpp index eca98b1c4..65d322c05 100644 --- a/src/gui/widgets/statspage.cpp +++ b/src/gui/widgets/statspage.cpp @@ -25,6 +25,8 @@ #include "gui/widgets/attrs/derdisplay.h" +#include "utils/foreach.h" + #include "resources/db/statdb.h" #include "debug.h" diff --git a/src/gui/widgets/statspagebasic.cpp b/src/gui/widgets/statspagebasic.cpp index bdf90e14f..2996e5f12 100644 --- a/src/gui/widgets/statspagebasic.cpp +++ b/src/gui/widgets/statspagebasic.cpp @@ -28,6 +28,7 @@ #include "gui/widgets/attrs/changedisplay.h" #include "utils/gettext.h" +#include "utils/foreach.h" #include "utils/stringutils.h" #include "resources/db/statdb.h" diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp index 95ea305d6..f63772907 100644 --- a/src/gui/widgets/tabbedarea.cpp +++ b/src/gui/widgets/tabbedarea.cpp @@ -72,6 +72,7 @@ #include "gui/widgets/tabs/tab.h" #include "utils/delete2.h" +#include "utils/foreach.h" #include "debug.h" diff --git a/src/gui/widgets/tabs/setup_mods.cpp b/src/gui/widgets/tabs/setup_mods.cpp index 7ee8f2f34..c3ca23245 100644 --- a/src/gui/widgets/tabs/setup_mods.cpp +++ b/src/gui/widgets/tabs/setup_mods.cpp @@ -31,6 +31,7 @@ #include "resources/db/moddb.h" +#include "utils/foreach.h" #include "utils/gettext.h" #include "debug.h" diff --git a/src/gui/widgets/tabs/socialfriendstab.h b/src/gui/widgets/tabs/socialfriendstab.h index 5bd13220b..017f465c7 100644 --- a/src/gui/widgets/tabs/socialfriendstab.h +++ b/src/gui/widgets/tabs/socialfriendstab.h @@ -34,6 +34,7 @@ #include "gui/widgets/tabs/socialfriendsfunctor.h" #include "utils/delete2.h" +#include "utils/foreach.h" #include "utils/gettext.h" #include "localconsts.h" diff --git a/src/gui/widgets/tabs/socialguildtab.h b/src/gui/widgets/tabs/socialguildtab.h index 775e22c6f..8652a54fe 100644 --- a/src/gui/widgets/tabs/socialguildtab.h +++ b/src/gui/widgets/tabs/socialguildtab.h @@ -27,6 +27,7 @@ #include "being/localplayer.h" #include "utils/delete2.h" +#include "utils/foreach.h" #include "utils/gettext.h" #include "utils/stringutils.h" diff --git a/src/gui/widgets/tabs/socialguildtab2.h b/src/gui/widgets/tabs/socialguildtab2.h index f26e99421..ff8544232 100644 --- a/src/gui/widgets/tabs/socialguildtab2.h +++ b/src/gui/widgets/tabs/socialguildtab2.h @@ -29,6 +29,7 @@ #include "being/localplayer.h" #include "utils/delete2.h" +#include "utils/foreach.h" #include "utils/gettext.h" #include "utils/stringutils.h" diff --git a/src/gui/widgets/tabs/socialpartytab.h b/src/gui/widgets/tabs/socialpartytab.h index b24f8f411..d7f22c1f7 100644 --- a/src/gui/widgets/tabs/socialpartytab.h +++ b/src/gui/widgets/tabs/socialpartytab.h @@ -31,6 +31,7 @@ #include "net/partyhandler.h" #include "utils/delete2.h" +#include "utils/foreach.h" #include "utils/gettext.h" #include "utils/stringutils.h" diff --git a/src/gui/widgets/tabstrip.cpp b/src/gui/widgets/tabstrip.cpp index 2a8299ea1..6b3dbe417 100644 --- a/src/gui/widgets/tabstrip.cpp +++ b/src/gui/widgets/tabstrip.cpp @@ -22,6 +22,8 @@ #include "gui/widgets/button.h" +#include "utils/foreach.h" + #include "debug.h" TabStrip::TabStrip(const Widget2 *const widget, diff --git a/src/gui/widgets/vertcontainer.cpp b/src/gui/widgets/vertcontainer.cpp index e15dc2481..714daae23 100644 --- a/src/gui/widgets/vertcontainer.cpp +++ b/src/gui/widgets/vertcontainer.cpp @@ -21,6 +21,8 @@ #include "gui/widgets/vertcontainer.h" +#include "utils/foreach.h" + #include "debug.h" VertContainer::VertContainer(const Widget2 *const widget, diff --git a/src/gui/widgets/widget.cpp b/src/gui/widgets/widget.cpp index 260272936..8b49fddfd 100644 --- a/src/gui/widgets/widget.cpp +++ b/src/gui/widgets/widget.cpp @@ -73,6 +73,8 @@ #include "listeners/widgetdeathlistener.h" #include "listeners/widgetlistener.h" +#include "utils/foreach.h" + #include "debug.h" Font* Widget::mGlobalFont = nullptr; diff --git a/src/gui/widgets/windowcontainer.cpp b/src/gui/widgets/windowcontainer.cpp index 38efd1a77..e054e27ad 100644 --- a/src/gui/widgets/windowcontainer.cpp +++ b/src/gui/widgets/windowcontainer.cpp @@ -25,6 +25,7 @@ #include "gui/widgets/window.h" #include "utils/dtor.h" +#include "utils/foreach.h" #include "debug.h" -- cgit v1.2.3-70-g09d2