summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------libicclient10
-rw-r--r--qicclient/client.hxx32
2 files changed, 35 insertions, 7 deletions
diff --git a/libicclient b/libicclient
-Subproject 8d7952b68665b0668428d65c277eb699d752383
+Subproject 97d3d5efa1d463df7440c04c429e1adfb8b0256
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();
};