summaryrefslogtreecommitdiff
path: root/qicclient/client.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'qicclient/client.hxx')
-rw-r--r--qicclient/client.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/qicclient/client.hxx b/qicclient/client.hxx
index 1c9d4a2..70c76fc 100644
--- a/qicclient/client.hxx
+++ b/qicclient/client.hxx
@@ -18,6 +18,10 @@ namespace ICClient {
Client(char const* url, char const* certificate = nullptr);
~Client();
+ void results(size_t (*handler)(void* contents,
+ size_t size, size_t nmemb,
+ void* userdata),
+ QString const& prodGroup);
void allProducts(size_t (*handler)(void* contents
, size_t size, size_t nmemb
, void* userdata));
@@ -63,7 +67,7 @@ namespace ICClient {
*/
signals:
- void gotAllProducts(icclient_catalog* catalog);
+ void gotResults(icclient_catalog* catalog);
void gotFlyPage(icclient_product* product);
void ordered(icclient_ord_order* order);
void loggedIn(icclient_user* user);