summaryrefslogtreecommitdiff
path: root/qicclient
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-17 17:11:17 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-17 17:11:17 +0800
commit7931bc869d46b367e676948f142dabdc57b06c0d (patch)
tree520eeb9bb596284dfad667002c0ccfa2fea4a345 /qicclient
parentfcd4ae221938ce8f18853c214effc9948e5c58c2 (diff)
Conform to success, fail, and next pages interface removals
Diffstat (limited to 'qicclient')
-rw-r--r--qicclient/admin.hxx6
-rw-r--r--qicclient/member.hxx6
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; }