From 4ba15985b35566a99e822673fb355a4f4efa09fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Sun, 12 Jul 2020 21:25:09 +0800 Subject: Prepare account and changePassword functions --- qicclient/client.hxx | 24 ++---------------------- 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 -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; } -- cgit v1.2.3