diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-15 22:03:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-16 13:50:43 +0300 |
commit | 23034a47937c109590eb60e4ee0efa32a8c9e45e (patch) | |
tree | 844c716da20752dcbb0aead649011f54d8062635 /src/gui/windows/shopwindow.cpp | |
parent | 4638f969d4206ba8dd857eb6d2758106cc5268df (diff) | |
download | mv-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.gz mv-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.bz2 mv-23034a47937c109590eb60e4ee0efa32a8c9e45e.tar.xz mv-23034a47937c109590eb60e4ee0efa32a8c9e45e.zip |
Remove useless includes from cpp files
Diffstat (limited to 'src/gui/windows/shopwindow.cpp')
-rw-r--r-- | src/gui/windows/shopwindow.cpp | 39 |
1 files changed, 27 insertions, 12 deletions
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 <sstream> +#ifdef TMWA_SUPPORT +#include "resources/iteminfo.h" +#endif #include <sys/stat.h> |