summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-10 14:17:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-10 14:17:42 +0300
commitf172be2b985821bbdd3da30915a49a4fa863e247 (patch)
treeb43673fe37661663403b5af1f6129c7cbe7eb311 /src/gui
parent0c9190e17be10e513d89d15aa29c1aab84124af7 (diff)
downloadmanaplus-f172be2b985821bbdd3da30915a49a4fa863e247.tar.gz
manaplus-f172be2b985821bbdd3da30915a49a4fa863e247.tar.bz2
manaplus-f172be2b985821bbdd3da30915a49a4fa863e247.tar.xz
manaplus-f172be2b985821bbdd3da30915a49a4fa863e247.zip
Move guildmanager into net/tmwa directory.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/popupmenu.cpp7
-rw-r--r--src/gui/widgets/tabs/chat/emulateguildtab.cpp3
-rw-r--r--src/gui/windows/socialwindow.cpp8
3 files changed, 10 insertions, 8 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 5470d7b2e..78f4fd475 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -25,9 +25,6 @@
#include "actormanager.h"
#include "configuration.h"
#include "gamemodifiers.h"
-#ifdef TMWA_SUPPORT
-#include "guildmanager.h"
-#endif
#include "item.h"
#include "party.h"
#include "spellmanager.h"
@@ -72,6 +69,10 @@
#include "net/pethandler.h"
#include "net/serverfeatures.h"
+#ifdef TMWA_SUPPORT
+#include "net/tmwa/guildmanager.h"
+#endif
+
#include "resources/chatobject.h"
#include "resources/iteminfo.h"
#include "resources/mapitemtype.h"
diff --git a/src/gui/widgets/tabs/chat/emulateguildtab.cpp b/src/gui/widgets/tabs/chat/emulateguildtab.cpp
index 07cb13d32..ccdf1bd43 100644
--- a/src/gui/widgets/tabs/chat/emulateguildtab.cpp
+++ b/src/gui/widgets/tabs/chat/emulateguildtab.cpp
@@ -23,7 +23,6 @@
#include "gui/widgets/tabs/chat/emulateguildtab.h"
#include "configuration.h"
-#include "guildmanager.h"
#include "soundconsts.h"
#include "soundmanager.h"
@@ -31,6 +30,8 @@
#include "utils/gettext.h"
+#include "net/tmwa/guildmanager.h"
+
#include "debug.h"
EmulateGuildTab::EmulateGuildTab(const Widget2 *const widget) :
diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp
index ffe9688c6..f8197466b 100644
--- a/src/gui/windows/socialwindow.cpp
+++ b/src/gui/windows/socialwindow.cpp
@@ -21,10 +21,6 @@
#include "gui/windows/socialwindow.h"
-#ifdef TMWA_SUPPORT
-#include "guildmanager.h"
-#endif
-
#include "enums/gui/dialogtype.h"
#include "gui/windows/okdialog.h"
@@ -47,6 +43,10 @@
#include "net/serverfeatures.h"
+#ifdef TMWA_SUPPORT
+#include "net/tmwa/guildmanager.h"
+#endif
+
#include "debug.h"
SocialWindow *socialWindow = nullptr;