summaryrefslogtreecommitdiff
path: root/qicclient
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-27 16:21:18 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-27 16:21:18 +0800
commit564738b2a05b6dde4f4344f49eb4f14641bca366 (patch)
tree14a0eb21b107f991b050e09725f5b1fee9e8d618 /qicclient
parentf3bdb1378aba6e9ed2ff6a6b30931c9045680301 (diff)
More prototypes for client
Diffstat (limited to 'qicclient')
-rw-r--r--qicclient/client.hxx32
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();
};