Loading client/client.cpp +5 −5 Changes for client/client.cpp: 5 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -41,23 +41,23 @@ authdb::client::ClientConnection::~ClientConnection(){ delete _Client; } void authdb::client::ClientConnection::setUrl(const char *url){ void authdb::client::ClientConnection::setUrl(const std::string &url){ _Url=url; } void authdb::client::ClientConnection::setClientname(const char *name){ void authdb::client::ClientConnection::setClientName(const std::string &name){ _CltName=name; } void authdb::client::ClientConnection::setClientSecret(const char *secret){ void authdb::client::ClientConnection::setClientSecret(const std::string &secret){ _CltSecret=secret; } void authdb::client::ClientConnection::setUsername(const char *username){ void authdb::client::ClientConnection::setUsername(const std::string &username){ _UserName=username; } void authdb::client::ClientConnection::setUserPassword(const char *password){ void authdb::client::ClientConnection::setUserPassword(const std::string &password){ _UserPassword=password; } Loading client/client.h +5 −5 Changes for client/client.h: 5 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -39,11 +39,11 @@ namespace authdb { public: ClientConnection(); ~ClientConnection(); void setUrl(const char *url); void setClientname(const char *name); void setClientSecret(const char *secret); void setUsername(const char *username); void setUserPassword(const char *password); void setUrl(const std::string &url); void setClientName(const std::string &name); void setClientSecret(const std::string &secret); void setUsername(const std::string &username); void setUserPassword(const std::string &password); private: libhttppp::HttpUrl _Url; std::string _CltName; Loading Loading
client/client.cpp +5 −5 Changes for client/client.cpp: 5 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -41,23 +41,23 @@ authdb::client::ClientConnection::~ClientConnection(){ delete _Client; } void authdb::client::ClientConnection::setUrl(const char *url){ void authdb::client::ClientConnection::setUrl(const std::string &url){ _Url=url; } void authdb::client::ClientConnection::setClientname(const char *name){ void authdb::client::ClientConnection::setClientName(const std::string &name){ _CltName=name; } void authdb::client::ClientConnection::setClientSecret(const char *secret){ void authdb::client::ClientConnection::setClientSecret(const std::string &secret){ _CltSecret=secret; } void authdb::client::ClientConnection::setUsername(const char *username){ void authdb::client::ClientConnection::setUsername(const std::string &username){ _UserName=username; } void authdb::client::ClientConnection::setUserPassword(const char *password){ void authdb::client::ClientConnection::setUserPassword(const std::string &password){ _UserPassword=password; } Loading
client/client.h +5 −5 Changes for client/client.h: 5 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -39,11 +39,11 @@ namespace authdb { public: ClientConnection(); ~ClientConnection(); void setUrl(const char *url); void setClientname(const char *name); void setClientSecret(const char *secret); void setUsername(const char *username); void setUserPassword(const char *password); void setUrl(const std::string &url); void setClientName(const std::string &name); void setClientSecret(const std::string &secret); void setUsername(const std::string &username); void setUserPassword(const std::string &password); private: libhttppp::HttpUrl _Url; std::string _CltName; Loading