diff options
Diffstat (limited to 'src/net/loginhandler.h')
-rw-r--r-- | src/net/loginhandler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/loginhandler.h b/src/net/loginhandler.h index b906a3de7..95fcf887b 100644 --- a/src/net/loginhandler.h +++ b/src/net/loginhandler.h @@ -40,11 +40,11 @@ class LoginHandler notfinal const ServerInfo &getServer() const A_WARN_UNUSED { return mServer; } - virtual void connect() = 0; + virtual void connect() const = 0; virtual bool isConnected() const A_WARN_UNUSED = 0; - virtual void disconnect() = 0; + virtual void disconnect() const = 0; virtual bool isRegistrationEnabled() const A_WARN_UNUSED = 0; @@ -83,7 +83,7 @@ class LoginHandler notfinal virtual const Worlds &getWorlds() const A_WARN_UNUSED = 0; - virtual void clearWorlds() = 0; + virtual void clearWorlds() const = 0; virtual void loginOrRegister(LoginData *const data) const = 0; |