diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-08-26 17:24:43 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-08-26 17:24:43 +0000 |
commit | 07b6070c25faedd78c2e26825bd700dc294f00cf (patch) | |
tree | 6a3053ad2a88ee6f0091fafba6607bc82231f7f6 /src/gui/trade.h | |
parent | 00d7badb647b4293c444c0374985b7f1ea8a1ed1 (diff) | |
download | mana-client-07b6070c25faedd78c2e26825bd700dc294f00cf.tar.gz mana-client-07b6070c25faedd78c2e26825bd700dc294f00cf.tar.bz2 mana-client-07b6070c25faedd78c2e26825bd700dc294f00cf.tar.xz mana-client-07b6070c25faedd78c2e26825bd700dc294f00cf.zip |
Made the Network class a purely static interface, as there is only one instance.
Diffstat (limited to 'src/gui/trade.h')
-rw-r--r-- | src/gui/trade.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/trade.h b/src/gui/trade.h index eb3c0f97..fe60aac5 100644 --- a/src/gui/trade.h +++ b/src/gui/trade.h @@ -35,7 +35,6 @@ class Inventory; class Item; class ItemContainer; -class Network; class ScrollArea; /** @@ -49,7 +48,7 @@ class TradeWindow : public Window, gcn::ActionListener /** * Constructor. */ - TradeWindow(Network *network); + TradeWindow(); /** * Destructor. @@ -113,8 +112,6 @@ class TradeWindow : public Window, gcn::ActionListener void action(const std::string& eventId, gcn::Widget* widget); private: - Network *mNetwork; - typedef std::auto_ptr<Inventory> InventoryPtr; InventoryPtr mMyInventory; InventoryPtr mPartnerInventory; |