summaryrefslogtreecommitdiff
path: root/qicclient
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-14 17:04:07 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-14 17:04:07 +0800
commit997ac1ef848ec9cf14ad2ab69c78a8ef230864e7 (patch)
tree9fa5b7008cfb703db2f1de62df3136aa20e9f240 /qicclient
parent3ee30003e4ba237575c23ba9f585c9ca40d003e5 (diff)
Flypage member function
Diffstat (limited to 'qicclient')
-rw-r--r--qicclient/client.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/qicclient/client.hxx b/qicclient/client.hxx
index ef8a5bf..1c9d4a2 100644
--- a/qicclient/client.hxx
+++ b/qicclient/client.hxx
@@ -4,6 +4,7 @@
#include <QObject>
struct icclient_catalog;
+struct icclient_product;
struct icclient_ord_order;
struct icclient_user;
@@ -20,6 +21,10 @@ namespace ICClient {
void allProducts(size_t (*handler)(void* contents
, size_t size, size_t nmemb
, void* userdata));
+ void flyPage(size_t (*handler)(void* contents,
+ size_t size, size_t nmemb,
+ void* userdata),
+ QString const& sku);
void order(icclient_ord_order** orderPtr, QString const& sku
, icclient_catalog* catalog);
void logIn(size_t (*handler)(void*, size_t, size_t, void*)
@@ -59,6 +64,7 @@ namespace ICClient {
signals:
void gotAllProducts(icclient_catalog* catalog);
+ void gotFlyPage(icclient_product* product);
void ordered(icclient_ord_order* order);
void loggedIn(icclient_user* user);
void loggedOut();