diff options
Diffstat (limited to 'src/net/maphandler.h')
-rw-r--r-- | src/net/maphandler.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/net/maphandler.h b/src/net/maphandler.h index be33e074..80f9183f 100644 --- a/src/net/maphandler.h +++ b/src/net/maphandler.h @@ -25,17 +25,19 @@ #include <iosfwd> namespace Net { + class MapHandler { public: - virtual void connect() {} + virtual void connect() = 0; - virtual void mapLoaded(const std::string &mapName) {} + virtual void mapLoaded(const std::string &mapName) = 0; - virtual void who() {} + virtual void who() = 0; - virtual void quit() {} + virtual void quit() = 0; }; -} + +} // namespace Net #endif // MAPHANDLER_H |