summaryrefslogtreecommitdiff
path: root/qicclient/client.hxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-26 22:15:14 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-26 22:15:14 +0800
commit605521b88fb1943ecd55cefb75153f77f54f34ad (patch)
treeb418ba67f48b66614342da334e7e3e6640d7305c /qicclient/client.hxx
parenta5e37f8fce723ea98d322ea8712ae6a9a16162e1 (diff)
parenta1892e161693409406d7ce06c977699a06e61920 (diff)
Merge branch 'master' into cmake
Diffstat (limited to 'qicclient/client.hxx')
-rw-r--r--qicclient/client.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/qicclient/client.hxx b/qicclient/client.hxx
index 14c3652..27ba2af 100644
--- a/qicclient/client.hxx
+++ b/qicclient/client.hxx
@@ -2,6 +2,9 @@
#define QRTCLIENT_CLIENT_HXX
#include <QObject>
+#include <icclient/product.h>
+
+struct icclient_catalog;
namespace ICClient {
@@ -13,11 +16,17 @@ namespace ICClient {
Client(char const* url, char const* certificate = nullptr);
~Client();
+ void productAll(icclient_catalog** catalogptr
+ , size_t (*callback)(void* contents
+ , size_t size, size_t nmemb
+ , void* userdata));
+
public slots:
void logIn(QString const& username, QString const& password);
void logOut();
signals:
+ void gotProductAll(icclient_catalog* catalog);
void loggedIn(QString const& username);
void loggedOut();
};