diff options
-rw-r--r-- | src/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | src/listeners/banklistener.h | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 762a0b2ed..f69652617 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -811,8 +811,6 @@ SET(SRCS listeners/attributelistener.h listeners/awaylistener.cpp listeners/awaylistener.h - listeners/banklistener.cpp - listeners/banklistener.h listeners/baselistener.hpp listeners/buyingstoremodelistener.cpp listeners/buyingstoremodelistener.h @@ -1414,6 +1412,8 @@ SET(SRCS_EATHENA gui/windows/buyingstoreselldialog.h gui/windows/eggselectiondialog.cpp gui/windows/eggselectiondialog.h + listeners/banklistener.cpp + listeners/banklistener.h net/eathena/adminhandler.cpp net/eathena/adminhandler.h net/eathena/auctionhandler.cpp diff --git a/src/Makefile.am b/src/Makefile.am index cc7665aff..3ab999fbc 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -940,8 +940,6 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \ listeners/attributelistener.h \ listeners/awaylistener.cpp \ listeners/awaylistener.h \ - listeners/banklistener.cpp \ - listeners/banklistener.h \ listeners/baselistener.hpp \ listeners/buyingstoremodelistener.cpp \ listeners/buyingstoremodelistener.h \ @@ -1350,6 +1348,8 @@ manaplus_SOURCES += gui/windows/bankwindow.cpp \ gui/windows/buyingstoreselldialog.h \ gui/windows/eggselectiondialog.cpp \ gui/windows/eggselectiondialog.h \ + listeners/banklistener.cpp \ + listeners/banklistener.h \ net/eathena/adminhandler.cpp \ net/eathena/adminhandler.h \ net/eathena/auctionhandler.cpp \ diff --git a/src/listeners/banklistener.h b/src/listeners/banklistener.h index eaf8412bf..f970eb75e 100644 --- a/src/listeners/banklistener.h +++ b/src/listeners/banklistener.h @@ -21,6 +21,8 @@ #ifndef LISTENERS_BANKLISTENER_H #define LISTENERS_BANKLISTENER_H +#ifdef EATHENA_SUPPORT + #include "listeners/baselistener.hpp" #include "localconsts.h" @@ -35,4 +37,5 @@ class BankListener notfinal defineListenerHeader(BankListener) }; +#endif // EATHENA_SUPPORT #endif // LISTENERS_BANKLISTENER_H |