diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-06-14 17:04:07 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-06-14 17:04:07 +0800 |
commit | 997ac1ef848ec9cf14ad2ab69c78a8ef230864e7 (patch) | |
tree | 9fa5b7008cfb703db2f1de62df3136aa20e9f240 /client.cxx | |
parent | 3ee30003e4ba237575c23ba9f585c9ca40d003e5 (diff) |
Flypage member function
Diffstat (limited to 'client.cxx')
-rw-r--r-- | client.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -22,6 +22,15 @@ namespace ICClient { emit gotAllProducts(catalog); } + void Client::flyPage(size_t (*handler)(void* contents, size_t size, + size_t nmemb, void* userdata), + QString const& sku) + { + icclient_product* product = nullptr; + icclient_flypage(handler, &product, sku.toLatin1().constData()); + emit gotFlyPage(product); + } + void Client::order(icclient_ord_order** orderPtr, QString const& sku , icclient_catalog* catalog) { |