diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-26 22:12:53 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-26 22:12:53 +0800 |
commit | 721cffc4488b27497b94d8e5bdaf84510f5cfa2b (patch) | |
tree | 179665432c2006196a92dec091b9e0156937680c | |
parent | 3fdde5e115af1edf084a81ead04adbca49d39e88 (diff) |
Fix scope
-rw-r--r-- | client.cxx | 6 | ||||
-rw-r--r-- | qicclient/client.hxx | 2 |
2 files changed, 3 insertions, 5 deletions
@@ -13,10 +13,8 @@ namespace ICClient { icclient_cleanup(); } - void productAll(icclient_catalog** catalogptr - , size_t (*callback)(void* contents - , size_t size, size_t nmemb - , void* userdata)) + void Client::productAll(icclient_catalog** catalogptr + , size_t (*callback)(void*, size_t, size_t, void*)) { icclient_product_all(catalogptr, callback); emit gotProductAll(*catalogptr); diff --git a/qicclient/client.hxx b/qicclient/client.hxx index 481f9bb..27ba2af 100644 --- a/qicclient/client.hxx +++ b/qicclient/client.hxx @@ -26,7 +26,7 @@ namespace ICClient { void logOut(); signals: - void gotProductAll(icclient_catalog*); + void gotProductAll(icclient_catalog* catalog); void loggedIn(QString const& username); void loggedOut(); }; |