diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-27 16:21:18 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-27 16:21:18 +0800 |
commit | 564738b2a05b6dde4f4344f49eb4f14641bca366 (patch) | |
tree | 14a0eb21b107f991b050e09725f5b1fee9e8d618 /qicclient/client.hxx | |
parent | f3bdb1378aba6e9ed2ff6a6b30931c9045680301 (diff) |
More prototypes for client
Diffstat (limited to 'qicclient/client.hxx')
-rw-r--r-- | qicclient/client.hxx | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/qicclient/client.hxx b/qicclient/client.hxx index 4994ad9..131f3f4 100644 --- a/qicclient/client.hxx +++ b/qicclient/client.hxx @@ -5,6 +5,7 @@ #include <icclient/product.h> struct icclient_catalog; +struct icclient_order; namespace ICClient { @@ -22,12 +23,39 @@ namespace ICClient { , void* userdata)); public slots: - void logIn(QString const& username, QString const& password); + /* + void order(QString const& sku); + void remove(unsigned int const& indices); + void checkout(); + */ + void logIn(QString const& username + , QString const& password); + /* + 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(); + /* + void newItem(QString const& description + , QString const& comment, + QString const& price + , QString const& imagePath); + */ signals: void gotAllProducts(icclient_catalog* catalog); - void loggedIn(QString const& username); + void ordered(icclient_order* order); + void loggedIn(QString const& userName); void loggedOut(); }; |