summaryrefslogtreecommitdiff
path: root/src/net/tradehandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tradehandler.h')
-rw-r--r--src/net/tradehandler.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/net/tradehandler.h b/src/net/tradehandler.h
index 84de3196..912e336d 100644
--- a/src/net/tradehandler.h
+++ b/src/net/tradehandler.h
@@ -27,25 +27,25 @@
#include <iosfwd>
namespace Net {
- class TradeHandler
- {
- public:
- void request(Being *being) {}
+class TradeHandler
+{
+ public:
+ virtual void request(Being *being) {}
- void respond(bool accepet) {}
+ virtual void respond(bool accepet) {}
- void addItem(int slotNum, int amount) {}
+ virtual void addItem(int slotNum, int amount) {}
- void removeItem(int slotNum, int amount) {}
+ virtual void removeItem(int slotNum, int amount) {}
- void setMoney(int amount) {}
+ virtual void setMoney(int amount) {}
- void confirm() {}
+ virtual void confirm() {}
- void finish() {}
+ virtual void finish() {}
- void cancel() {}
- };
+ virtual void cancel() {}
+};
}
#endif // TRADEHANDLER_H