diff options
-rw-r--r-- | src/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | src/gui/windows/shopselldialog.h | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 48ae4792a..762a0b2ed 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -422,8 +422,6 @@ SET(SRCS gui/windows/serverdialog.h gui/windows/setupwindow.cpp gui/windows/setupwindow.h - gui/windows/shopselldialog.cpp - gui/windows/shopselldialog.h gui/widgets/tabs/setup_audio.cpp gui/widgets/tabs/setup_audio.h gui/widgets/tabs/setup_colors.cpp @@ -1330,6 +1328,8 @@ SET(SRCS_TMWA guildmanager.h gui/widgets/tabs/chat/emulateguildtab.cpp gui/widgets/tabs/chat/emulateguildtab.h + gui/windows/shopselldialog.cpp + gui/windows/shopselldialog.h net/tmwa/adminhandler.cpp net/tmwa/adminhandler.h net/tmwa/auctionhandler.cpp diff --git a/src/Makefile.am b/src/Makefile.am index 4f748735f..cc7665aff 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -552,8 +552,6 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \ gui/windows/serverdialog.h \ gui/windows/setupwindow.cpp \ gui/windows/setupwindow.h \ - gui/windows/shopselldialog.cpp \ - gui/windows/shopselldialog.h \ gui/widgets/tabs/setup_audio.cpp \ gui/widgets/tabs/setup_audio.h \ gui/widgets/tabs/setup_colors.cpp \ @@ -1265,6 +1263,8 @@ manaplus_SOURCES += \ guildmanager.h \ gui/widgets/tabs/chat/emulateguildtab.cpp \ gui/widgets/tabs/chat/emulateguildtab.h \ + gui/windows/shopselldialog.cpp \ + gui/windows/shopselldialog.h \ net/tmwa/adminhandler.cpp \ net/tmwa/adminhandler.h \ net/tmwa/auctionhandler.cpp \ diff --git a/src/gui/windows/shopselldialog.h b/src/gui/windows/shopselldialog.h index 99e120395..8fad55345 100644 --- a/src/gui/windows/shopselldialog.h +++ b/src/gui/windows/shopselldialog.h @@ -23,6 +23,8 @@ #ifndef GUI_WINDOWS_SHOPSELLDIALOG_H #define GUI_WINDOWS_SHOPSELLDIALOG_H +#ifdef TMWA_SUPPORT + #include "gui/widgets/selldialog.h" /** @@ -48,4 +50,5 @@ class ShopSellDialog final : public SellDialog std::string mNick; }; +#endif // TMWA_SUPPORT #endif // GUI_WINDOWS_SHOPSELLDIALOG_H |