diff options
| author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-27 08:55:15 +0800 |
|---|---|---|
| committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-27 08:55:15 +0800 |
| commit | 552b14eeda6fc65c6246224425a03a4bf1b31154 (patch) | |
| tree | 05b7edf4b381760956787f79487bf7d2bd392394 /client.cxx | |
| parent | 8d0304106b5aafda286c93034f0f7976dcfcdff4 (diff) | |
Adjust with the new allproducts function name
Diffstat (limited to 'client.cxx')
| -rw-r--r-- | client.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,3 +1,4 @@ +#include <cstddef> #include <icclient/client.h> #include "qicclient/client.hxx" @@ -13,11 +14,11 @@ namespace ICClient { icclient_cleanup(); } - void Client::productAll(icclient_catalog** catalogptr + void Client::allProducts(icclient_catalog** catalogptr , size_t (*callback)(void*, size_t, size_t, void*)) { - icclient_product_all(catalogptr, callback); - emit gotProductAll(*catalogptr); + icclient_allproducts(catalogptr, callback); + emit gotAllProducts(*catalogptr); } void Client::logIn(QString const& username, QString const& password) |