diff options
Diffstat (limited to 'qicclient')
-rw-r--r-- | qicclient/admin.hxx | 6 | ||||
-rw-r--r-- | qicclient/member.hxx | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/qicclient/admin.hxx b/qicclient/admin.hxx index 52920e4..b93ea2a 100644 --- a/qicclient/admin.hxx +++ b/qicclient/admin.hxx @@ -27,11 +27,7 @@ namespace QICClient { m_data{nullptr} {} ~Admin() {} - static std::shared_ptr<Admin> logIn(QString const& username, - QString const& password, - QString const& successPage = nullptr, - QString const& nextPage = nullptr, - QString const& failPage = nullptr, + static std::shared_ptr<Admin> logIn(QString const& username, QString const& password, void (*handler)(icclient_fetch_t *) = nullptr); QString const& userName() const { return m_userName; } diff --git a/qicclient/member.hxx b/qicclient/member.hxx index e2a3dcb..b5e1f5b 100644 --- a/qicclient/member.hxx +++ b/qicclient/member.hxx @@ -57,11 +57,7 @@ namespace QICClient { m_data{nullptr} {} ~Member() {} - static std::shared_ptr<Member> logIn(QString const& username, - QString const& password, - QString const& successPage = nullptr, - QString const& nextPage = nullptr, - QString const& failPage = nullptr, + static std::shared_ptr<Member> logIn(QString const& username, QString const& password, void (*handler)(icclient_fetch_t *) = nullptr); QString const& userName() const { return m_userName; } |