diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-17 17:11:17 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-17 17:11:17 +0800 |
commit | 7931bc869d46b367e676948f142dabdc57b06c0d (patch) | |
tree | 520eeb9bb596284dfad667002c0ccfa2fea4a345 /qicclient | |
parent | fcd4ae221938ce8f18853c214effc9948e5c58c2 (diff) |
Conform to success, fail, and next pages interface removals
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; } |