summaryrefslogtreecommitdiff
path: root/src/net/gamehandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/gamehandler.h')
-rw-r--r--src/net/gamehandler.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/net/gamehandler.h b/src/net/gamehandler.h
index 774de16c..9b0c8d95 100644
--- a/src/net/gamehandler.h
+++ b/src/net/gamehandler.h
@@ -31,16 +31,14 @@ namespace Net {
class GameHandler
{
public:
+ virtual ~GameHandler() {}
+
virtual void connect() = 0;
virtual bool isConnected() = 0;
virtual void disconnect() = 0;
- virtual void inGame() = 0;
-
- virtual void mapLoaded(const std::string &mapName) = 0;
-
virtual void who() = 0;
virtual void quit() = 0;
@@ -49,7 +47,10 @@ class GameHandler
virtual bool removeDeadBeings() const = 0;
- virtual ~GameHandler() {}
+ /**
+ * Tells whether the protocol is using the MP status bar
+ */
+ virtual bool canUseMagicBar() const = 0;
};
} // namespace Net