summaryrefslogtreecommitdiff
path: root/src/gui/sell.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/sell.h')
-rw-r--r--src/gui/sell.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/sell.h b/src/gui/sell.h
index 45b6a704..b6388a1f 100644
--- a/src/gui/sell.h
+++ b/src/gui/sell.h
@@ -30,7 +30,9 @@
#include "window.h"
class Item;
+#ifdef EATHENA_SUPPORT
class Network;
+#endif
class ShopItems;
class ShopListBox;
@@ -47,7 +49,11 @@ class SellDialog : public Window, gcn::ActionListener, gcn::SelectionListener
*
* @see Window::Window
*/
+#ifdef TMWSERV_SUPPORT
+ SellDialog();
+#else
SellDialog(Network *network);
+#endif
/**
* Destructor
@@ -62,7 +68,11 @@ class SellDialog : public Window, gcn::ActionListener, gcn::SelectionListener
/**
* Adds an item to the inventory.
*/
+#ifdef TMWSERV_SUPPORT
+ void addItem(int item, int amount, int price);
+#else
void addItem(const Item *item, int price);
+#endif
/**
* Called when receiving actions from the widgets.
@@ -101,7 +111,9 @@ class SellDialog : public Window, gcn::ActionListener, gcn::SelectionListener
*/
void updateButtonsAndLabels();
+#ifdef EATHENA_SUPPORT
Network *mNetwork;
+#endif
gcn::Button *mSellButton;
gcn::Button *mQuitButton;
gcn::Button *mAddMaxButton;