From cd25589ba6143591389095eb25a260e350edc699 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 16 Feb 2015 20:40:13 +0300 Subject: Build buyingstoremodelistener only if eathena support enabled. --- src/gui/windows/shopwindow.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/windows/shopwindow.h') diff --git a/src/gui/windows/shopwindow.h b/src/gui/windows/shopwindow.h index 313d3b4fb..8cf1cecd5 100644 --- a/src/gui/windows/shopwindow.h +++ b/src/gui/windows/shopwindow.h @@ -51,7 +51,9 @@ class ShopWindow final : public Window, public SelectionListener, public VendingModeListener, public VendingSlotsListener, +#ifdef EATHENA_SUPPORT public BuyingStoreModeListener, +#endif public BuyingStoreSlotsListener { public: @@ -151,7 +153,9 @@ class ShopWindow final : public Window, void vendingEnabled(const bool b) override final; +#ifdef EATHENA_SUPPORT void buyingStoreEnabled(const bool b) override final; +#endif void setShopName(const std::string &name); -- cgit v1.2.3-70-g09d2