summaryrefslogtreecommitdiff
path: root/src/gui/trade.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-03 07:39:18 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-03 07:39:18 -0600
commit754cc498156371d0b6d32de0e58d7256236ed676 (patch)
tree54abf2170a48e72dffdf8a2ba7ded5386fc28813 /src/gui/trade.h
parentd13b3eaca82e3547c84f60b9b135464ff3a51cf0 (diff)
downloadmana-client-754cc498156371d0b6d32de0e58d7256236ed676.tar.gz
mana-client-754cc498156371d0b6d32de0e58d7256236ed676.tar.bz2
mana-client-754cc498156371d0b6d32de0e58d7256236ed676.tar.xz
mana-client-754cc498156371d0b6d32de0e58d7256236ed676.zip
Fill in TMWServ's TradeHandler
Also started temparary implementation of the Net::getXHandler() methods and started using them.
Diffstat (limited to 'src/gui/trade.h')
-rw-r--r--src/gui/trade.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/trade.h b/src/gui/trade.h
index e2767c5b..7f5f8a11 100644
--- a/src/gui/trade.h
+++ b/src/gui/trade.h
@@ -118,7 +118,6 @@ class TradeWindow : public Window, gcn::ActionListener, gcn::SelectionListener
void close();
private:
-#ifdef TMWSERV_SUPPORT
enum Status
{
PREPARING, /**< Players are adding items. */
@@ -130,7 +129,6 @@ class TradeWindow : public Window, gcn::ActionListener, gcn::SelectionListener
* Sets the current status of the trade.
*/
void setStatus(Status);
-#endif
typedef const std::auto_ptr<Inventory> InventoryPtr;
InventoryPtr mMyInventory;
@@ -147,9 +145,8 @@ class TradeWindow : public Window, gcn::ActionListener, gcn::SelectionListener
#endif
gcn::TextField *mMoneyField;
-#ifdef TMWSERV_SUPPORT
Status mStatus;
-#else
+#ifdef EATHENA_SUPPORT
bool mOkOther, mOkMe;
#endif
};