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.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/net/gamehandler.h b/src/net/gamehandler.h
index 774de16c..0c5d889f 100644
--- a/src/net/gamehandler.h
+++ b/src/net/gamehandler.h
@@ -22,8 +22,6 @@
#ifndef MAPHANDLER_H
#define MAPHANDLER_H
-#include "logindata.h"
-
#include <iosfwd>
namespace Net {
@@ -31,16 +29,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 +45,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