From 23034a47937c109590eb60e4ee0efa32a8c9e45e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Mar 2015 22:03:17 +0300 Subject: Remove useless includes from cpp files --- src/gui/windows/shopwindow.cpp | 39 +++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-) (limited to 'src/gui/windows/shopwindow.cpp') diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index 4cb922519..9a4fd7729 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -22,16 +22,24 @@ #include "gui/windows/shopwindow.h" -#include "gui/chatconsts.h" +#include "enums/being/attributes.h" +#ifdef TMWA_SUPPORT #include "gui/windows/buydialog.h" #include "gui/windows/chatwindow.h" #include "gui/windows/confirmdialog.h" +#include "gui/windows/shopselldialog.h" +#include "gui/windows/tradewindow.h" + +#include "gui/chatconsts.h" +#endif + +#ifdef EATHENA_SUPPORT #include "gui/windows/editdialog.h" +#endif + #include "gui/windows/itemamountwindow.h" -#include "gui/windows/shopselldialog.h" #include "gui/windows/setupwindow.h" -#include "gui/windows/tradewindow.h" #include "gui/models/shopitems.h" @@ -44,34 +52,41 @@ #include "gui/widgets/shoplistbox.h" #include "gui/widgets/tabstrip.h" +#ifdef EATHENA_SUPPORT #include "listeners/shoprenamelistener.h" +#endif +#ifdef TMWA_SUPPORT #include "actormanager.h" +#include "soundmanager.h" +#endif #include "configuration.h" #include "inventory.h" -#include "item.h" #include "settings.h" #include "shopitem.h" -#include "soundmanager.h" #include "being/localplayer.h" #include "being/playerinfo.h" -#include "being/playerrelations.h" - -#include "enums/being/attributes.h" +#ifdef TMWA_SUPPORT +#include "being/playerrelations.h" #include "net/chathandler.h" +#endif +#ifdef EATHENA_SUPPORT #include "net/buyingstorehandler.h" +#include "net/vendinghandler.h" +#endif #include "net/serverfeatures.h" +#ifdef TMWA_SUPPORT #include "net/tradehandler.h" -#include "net/vendinghandler.h" - -#include "resources/iteminfo.h" +#endif #include "utils/delete2.h" #include "utils/gettext.h" -#include +#ifdef TMWA_SUPPORT +#include "resources/iteminfo.h" +#endif #include -- cgit v1.2.3-60-g2f50