diff options
Diffstat (limited to 'src/Client/Authenticators/PasswordAuthenticator.h')
-rw-r--r-- | src/Client/Authenticators/PasswordAuthenticator.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Client/Authenticators/PasswordAuthenticator.h b/src/Client/Authenticators/PasswordAuthenticator.h index 8fdd87c..d7b2fbc 100644 --- a/src/Client/Authenticators/PasswordAuthenticator.h +++ b/src/Client/Authenticators/PasswordAuthenticator.h @@ -17,8 +17,8 @@ * with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef MAD_CLIENT_PASSWORDAUTHENTICATOR_H_ -#define MAD_CLIENT_PASSWORDAUTHENTICATOR_H_ +#ifndef MAD_CLIENT_AUTHENTICATORS_PASSWORDAUTHENTICATOR_H_ +#define MAD_CLIENT_AUTHENTICATORS_PASSWORDAUTHENTICATOR_H_ #include "../export.h" @@ -38,22 +38,22 @@ class MAD_CLIENT_EXPORT PasswordAuthenticator { std::string hash; protected: - virtual void sendRequest(); - virtual void handlePacket(boost::shared_ptr<const Common::XmlPacket> packet); + virtual void sendRequest(); + virtual void handlePacket(boost::shared_ptr<const Common::XmlPacket> packet); public: - PasswordAuthRequest(Common::Application *application, const std::string &username0, const std::string &password0, const std::string &hash0) - : Common::Request(application), username(username0), password(password0), hash(hash0) {} + PasswordAuthRequest(Common::Application *application, const std::string &username0, const std::string &password0, const std::string &hash0) + : Common::Request(application), username(username0), password(password0), hash(hash0) {} }; PasswordAuthenticator(); - public: - static void authenticate(Common::Application *application, Common::Connection *con, const std::string &username, const std::string &password) throw (Core::Exception); + public: + static void authenticate(Common::Application *application, Common::Connection *con, const std::string &username, const std::string &password) throw (Core::Exception); }; } } } -#endif /* MAD_CLIENT_PASSWORDAUTHENTICATOR_H_ */ +#endif /* MAD_CLIENT_AUTHENTICATORS_PASSWORDAUTHENTICATOR_H_ */ |