diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-07-12 21:25:09 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-07-12 21:25:09 +0800 |
commit | 4ba15985b35566a99e822673fb355a4f4efa09fc (patch) | |
tree | 5c407959eef5141b1c6719ab958450acccffca62 | |
parent | 48f28b33b91d20065971e12522b2958a273d7c1c (diff) |
Prepare account and changePassword functions
-rw-r--r-- | qicclient/client.hxx | 24 | ||||
-rw-r--r-- | qicclient/member.hxx | 12 |
2 files changed, 14 insertions, 22 deletions
diff --git a/qicclient/client.hxx b/qicclient/client.hxx index 2f0632d..c554dab 100644 --- a/qicclient/client.hxx +++ b/qicclient/client.hxx @@ -3,8 +3,6 @@ #include <QObject> -struct icclient_member; - namespace QICClient { using std::shared_ptr; @@ -60,27 +58,9 @@ namespace QICClient { /* void remove(unsigned int const& indices); void checkout(); + void newItem(QString const& description, QString const& comment, + QString const& price, QString const& imagePath); */ - /* - void account(QString const& firstName - , QString const& lastName - , QString const& address1 - , QString const& address2 - , QString const& city - , QString const& state - , QString const& zip - , QString const& email - , QString const& phoneDay); - void changePassword(QString const& passwordOld - , QString const& password - , QString const& verify); - */ - /* - void newItem(QString const& description - , QString const& comment, - QString const& price - , QString const& imagePath); - */ signals: void gotResults(Catalog* catalog); diff --git a/qicclient/member.hxx b/qicclient/member.hxx index 8c9c5e6..b81d4ea 100644 --- a/qicclient/member.hxx +++ b/qicclient/member.hxx @@ -63,6 +63,18 @@ namespace QICClient { QString const& failPage = nullptr, size_t (*handler)(void*, size_t, size_t, void*) = nullptr); + void account(QString const& firstName, + QString const& lastName, + QString const& address1, + QString const& address2, + QString const& city, + QString const& state, + QString const& zip, + QString const& email, + QString const& phoneDay) {} + void changePassword(QString const& passwordOld, + QString const& password, + QString const& verify) {} void logOut(); QString const& userName() const { return m_userName; } |