summaryrefslogtreecommitdiff
path: root/src/net/eathena/loginhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-24 12:17:35 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-24 12:17:35 +0300
commit1814650ad896a0f9684d279fa5843771e767748a (patch)
tree5387bdca11a76198c7be67b7009cacd9fc31b0fb /src/net/eathena/loginhandler.h
parentd6fbc25d16e3f96a20c492904a0dab16f8b4d8fb (diff)
downloadplus-1814650ad896a0f9684d279fa5843771e767748a.tar.gz
plus-1814650ad896a0f9684d279fa5843771e767748a.tar.bz2
plus-1814650ad896a0f9684d279fa5843771e767748a.tar.xz
plus-1814650ad896a0f9684d279fa5843771e767748a.zip
add final keyword to net files.
Diffstat (limited to 'src/net/eathena/loginhandler.h')
-rw-r--r--src/net/eathena/loginhandler.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/net/eathena/loginhandler.h b/src/net/eathena/loginhandler.h
index f7c136e39..d8556af63 100644
--- a/src/net/eathena/loginhandler.h
+++ b/src/net/eathena/loginhandler.h
@@ -43,25 +43,26 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler
~LoginHandler();
- void handleMessage(Net::MessageIn &msg) override;
+ void handleMessage(Net::MessageIn &msg) override final;
- void connect() override;
+ void connect() override final;
- bool isConnected() const override A_WARN_UNUSED;
+ bool isConnected() const override final A_WARN_UNUSED;
- void disconnect() override;
+ void disconnect() override final;
- int supportedOptionalActions() const override A_WARN_UNUSED
+ int supportedOptionalActions() const override final A_WARN_UNUSED
{ return SetGenderOnRegister; }
- unsigned int getMaxPasswordLength() const override A_WARN_UNUSED
+ unsigned int getMaxPasswordLength() const override final A_WARN_UNUSED
{ return 24; }
void changePassword(const std::string &username,
const std::string &oldPassword,
- const std::string &newPassword) const override;
+ const std::string &newPassword)
+ const override final;
- ServerInfo *getCharServer() const override A_WARN_UNUSED;
+ ServerInfo *getCharServer() const override final A_WARN_UNUSED;
void processServerVersion(Net::MessageIn &msg);
@@ -72,7 +73,7 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler
private:
void sendLoginRegister(const std::string &username,
const std::string &password,
- const std::string &email) const override;
+ const std::string &email) const override final;
};
} // namespace EAthena