summaryrefslogtreecommitdiff
path: root/src/gui/windows/shopwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-15 00:14:39 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-15 00:14:39 +0300
commitc2f007b58743491dc9250f09137ad847043b840d (patch)
tree472ce728623054a7b58141c16118e53a2837759b /src/gui/windows/shopwindow.h
parentc7f54151ba693e7f57378b77cc567d5aa26cf4cf (diff)
downloadplus-c2f007b58743491dc9250f09137ad847043b840d.tar.gz
plus-c2f007b58743491dc9250f09137ad847043b840d.tar.bz2
plus-c2f007b58743491dc9250f09137ad847043b840d.tar.xz
plus-c2f007b58743491dc9250f09137ad847043b840d.zip
eathena: impliment packet SMSG_BUYINGSTORE_OWN_ITEMS.
Diffstat (limited to 'src/gui/windows/shopwindow.h')
-rw-r--r--src/gui/windows/shopwindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/shopwindow.h b/src/gui/windows/shopwindow.h
index e3398d093..313d3b4fb 100644
--- a/src/gui/windows/shopwindow.h
+++ b/src/gui/windows/shopwindow.h
@@ -26,6 +26,7 @@
#include "gui/widgets/window.h"
#include "listeners/actionlistener.h"
+#include "listeners/buyingstoremodelistener.h"
#include "listeners/buyingstoreslotslistener.h"
#include "listeners/selectionlistener.h"
#include "listeners/vendingmodelistener.h"
@@ -50,6 +51,7 @@ class ShopWindow final : public Window,
public SelectionListener,
public VendingModeListener,
public VendingSlotsListener,
+ public BuyingStoreModeListener,
public BuyingStoreSlotsListener
{
public:
@@ -149,6 +151,8 @@ class ShopWindow final : public Window,
void vendingEnabled(const bool b) override final;
+ void buyingStoreEnabled(const bool b) override final;
+
void setShopName(const std::string &name);
private:
@@ -191,6 +195,7 @@ class ShopWindow final : public Window,
int mBuyShopSize;
bool isBuySelected;
bool mHaveVending;
+ bool mEnableBuyingStore;
bool mEnableVending;
};