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