summaryrefslogtreecommitdiff
path: root/client.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'client.cxx')
-rw-r--r--client.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/client.cxx b/client.cxx
index f9cf9b2..00f0712 100644
--- a/client.cxx
+++ b/client.cxx
@@ -13,6 +13,15 @@ namespace ICClient {
icclient_cleanup();
}
+ void productAll(icclient_catalog** catalogptr
+ , size_t (*callback)(void* contents
+ , size_t size, size_t nmemb
+ , void* userdata))
+ {
+ icclient_product_all(catalogptr, callback);
+ emit gotProductAll(*catalogptr);
+ }
+
void Client::logIn(QString const& username, QString const& password)
{
icclient_login(username.toLatin1().constData()