diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:17:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:17:35 +0300 |
commit | 1814650ad896a0f9684d279fa5843771e767748a (patch) | |
tree | 5387bdca11a76198c7be67b7009cacd9fc31b0fb /src/net/ea/loginhandler.h | |
parent | d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb (diff) | |
download | manaplus-1814650ad896a0f9684d279fa5843771e767748a.tar.gz manaplus-1814650ad896a0f9684d279fa5843771e767748a.tar.bz2 manaplus-1814650ad896a0f9684d279fa5843771e767748a.tar.xz manaplus-1814650ad896a0f9684d279fa5843771e767748a.zip |
add final keyword to net files.
Diffstat (limited to 'src/net/ea/loginhandler.h')
-rw-r--r-- | src/net/ea/loginhandler.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h index d1994f73d..a0d6ad288 100644 --- a/src/net/ea/loginhandler.h +++ b/src/net/ea/loginhandler.h @@ -45,37 +45,39 @@ class LoginHandler : public Net::LoginHandler int supportedOptionalActions() const override A_WARN_UNUSED { return SetGenderOnRegister; } - virtual bool isRegistrationEnabled() const override A_WARN_UNUSED; + virtual bool isRegistrationEnabled() const override final A_WARN_UNUSED; - virtual void getRegistrationDetails() const override; + virtual void getRegistrationDetails() const override final; virtual unsigned int getMaxPasswordLength() const - override A_WARN_UNUSED + override A_WARN_UNUSED { return 24; } - virtual void loginAccount(LoginData *const loginData) const override; + virtual void loginAccount(LoginData *const loginData) + const override final; virtual void chooseServer(const unsigned int server) const override; virtual void registerAccount(LoginData *const loginData) - const override; + const override final; - virtual const Worlds &getWorlds() const override A_WARN_UNUSED; + virtual const Worlds &getWorlds() const override final A_WARN_UNUSED; - virtual void clearWorlds() override; + virtual void clearWorlds() override final; virtual ServerInfo *getCharServer() const A_WARN_UNUSED = 0; const Token &getToken() const A_WARN_UNUSED { return mToken; } - virtual void logout() const override; + virtual void logout() const override final; - virtual void changeEmail(const std::string &email) const override; + virtual void changeEmail(const std::string &email) + const override final; virtual void unregisterAccount(const std::string &username, const std::string &password) - const override; + const override final; virtual void procecessCharPasswordResponse(Net::MessageIn &msg) const; |