summaryrefslogtreecommitdiff
path: root/src/gui/windows/shopwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-16 21:26:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-16 21:26:24 +0300
commitc3be771906112df05821dc82539fdca2bf3d7991 (patch)
treee086c35abaa0cae75c1543eb22dbff844e0671a8 /src/gui/windows/shopwindow.h
parentcd25589ba6143591389095eb25a260e350edc699 (diff)
downloadmanaplus-c3be771906112df05821dc82539fdca2bf3d7991.tar.gz
manaplus-c3be771906112df05821dc82539fdca2bf3d7991.tar.bz2
manaplus-c3be771906112df05821dc82539fdca2bf3d7991.tar.xz
manaplus-c3be771906112df05821dc82539fdca2bf3d7991.zip
Build buyingstoreslotslistener only if eathena support enabled.
Diffstat (limited to 'src/gui/windows/shopwindow.h')
-rw-r--r--src/gui/windows/shopwindow.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/windows/shopwindow.h b/src/gui/windows/shopwindow.h
index 8cf1cecd5..500d67727 100644
--- a/src/gui/windows/shopwindow.h
+++ b/src/gui/windows/shopwindow.h
@@ -47,14 +47,14 @@ class TabStrip;
* \ingroup Interface
*/
class ShopWindow final : public Window,
- public ActionListener,
- public SelectionListener,
public VendingModeListener,
public VendingSlotsListener,
#ifdef EATHENA_SUPPORT
public BuyingStoreModeListener,
+ public BuyingStoreSlotsListener,
#endif
- public BuyingStoreSlotsListener
+ public ActionListener,
+ public SelectionListener
{
public:
enum ShopMode
@@ -149,12 +149,12 @@ class ShopWindow final : public Window,
void vendingSlotsChanged(const int slots) override final;
- void buyingStoreSlotsChanged(const int slots) override final;
-
void vendingEnabled(const bool b) override final;
#ifdef EATHENA_SUPPORT
void buyingStoreEnabled(const bool b) override final;
+
+ void buyingStoreSlotsChanged(const int slots) override final;
#endif
void setShopName(const std::string &name);