diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-16 18:19:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-16 18:19:28 +0300 |
commit | cb16bee18580b7123711054f3d6b91d3b5d80724 (patch) | |
tree | c8eef85d41415348b2a38d6e6fdc4853a043592a /src | |
parent | 1e686fc91d98f13211d40c39bb02d427414bd1a7 (diff) | |
download | mv-cb16bee18580b7123711054f3d6b91d3b5d80724.tar.gz mv-cb16bee18580b7123711054f3d6b91d3b5d80724.tar.bz2 mv-cb16bee18580b7123711054f3d6b91d3b5d80724.tar.xz mv-cb16bee18580b7123711054f3d6b91d3b5d80724.zip |
Build eggselectiondialog only if eathena support enabled.
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | src/gui/windows/eggselectiondialog.h | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9e9083d42..48ae4792a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -355,8 +355,6 @@ SET(SRCS gui/windows/editdialog.h gui/windows/editserverdialog.cpp gui/windows/editserverdialog.h - gui/windows/eggselectiondialog.cpp - gui/windows/eggselectiondialog.h gui/windows/emotewindow.cpp gui/windows/emotewindow.h gui/windows/equipmentwindow.cpp @@ -1414,6 +1412,8 @@ SET(SRCS_EATHENA gui/windows/bankwindow.h gui/windows/buyingstoreselldialog.cpp gui/windows/buyingstoreselldialog.h + gui/windows/eggselectiondialog.cpp + gui/windows/eggselectiondialog.h net/eathena/adminhandler.cpp net/eathena/adminhandler.h net/eathena/auctionhandler.cpp diff --git a/src/Makefile.am b/src/Makefile.am index 95e64a21d..4f748735f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -485,8 +485,6 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \ gui/windows/editdialog.h \ gui/windows/editserverdialog.cpp \ gui/windows/editserverdialog.h \ - gui/windows/eggselectiondialog.cpp \ - gui/windows/eggselectiondialog.h \ gui/windows/emotewindow.cpp \ gui/windows/emotewindow.h \ gui/windows/equipmentwindow.cpp \ @@ -1350,6 +1348,8 @@ manaplus_SOURCES += gui/windows/bankwindow.cpp \ gui/windows/bankwindow.h \ gui/windows/buyingstoreselldialog.cpp \ gui/windows/buyingstoreselldialog.h \ + gui/windows/eggselectiondialog.cpp \ + gui/windows/eggselectiondialog.h \ net/eathena/adminhandler.cpp \ net/eathena/adminhandler.h \ net/eathena/auctionhandler.cpp \ diff --git a/src/gui/windows/eggselectiondialog.h b/src/gui/windows/eggselectiondialog.h index 258658d0a..2f5490e0d 100644 --- a/src/gui/windows/eggselectiondialog.h +++ b/src/gui/windows/eggselectiondialog.h @@ -23,6 +23,8 @@ #ifndef GUI_WINDOWS_EGGSELECTIONDIALOG_H #define GUI_WINDOWS_EGGSELECTIONDIALOG_H +#ifdef EATHENA_SUPPORT + #include "gui/widgets/selldialog.h" class EggSelectionDialog final : public SellDialog @@ -42,4 +44,5 @@ class EggSelectionDialog final : public SellDialog void sellAction(const ActionEvent &event) override final; }; +#endif // EATHENA_SUPPORT #endif // GUI_WINDOWS_EGGSELECTIONDIALOG_H |