Use Url inside Client. Remove onLoginCredentialsRequired from IClientListener interface.

This commit is contained in:
XMRig 2017-06-28 04:04:04 +03:00
parent c0dcfc2a97
commit b2d26eb019
7 changed files with 66 additions and 71 deletions

View file

@ -52,8 +52,11 @@ public:
bool isNicehash() const;
bool parse(const char *url);
bool setUserpass(const char *userpass);
void setPassword(const char *password, bool force = true);
void setUser(const char *user, bool force = true);
void setPassword(const char *password);
void setUser(const char *user);
Url &operator=(const Url *other);
private:
bool m_keepAlive;
bool m_nicehash;