diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-14 16:50:29 +0800 |
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-14 16:50:29 +0800 |
| commit | fdc2f14e4f120a5b638a5666606593be1006c009 (patch) | |
| tree | 5d33772a25ff1e217945b2cf51c0c4f9b82541bd /client.cxx | |
| parent | a3c729397318f9556266b52a30bf965388ede1d8 (diff) | |
Conform to updated icclient_init
Diffstat (limited to 'client.cxx')
| -rw-r--r-- | client.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -6,17 +6,17 @@ static QICClient::Client* client; -static void handle_results(icclient_fetch_t* fetch) +static void handleResults(icclient_fetch_t* fetch) { client->emitResults(fetch); } namespace QICClient { - Client::Client(char const* url, char const* certificate) + Client::Client(char const* sampleURL, char const* image_Dir, char const* certificate) { client = this; - icclient_init(url, certificate); + icclient_init(sampleURL, image_Dir, certificate); } Client::~Client() @@ -28,14 +28,14 @@ namespace QICClient { { icclient_results(prodGroup.toLatin1().constData(), [](icclient_catalog* catalog) { icclient_free_catalog(catalog); - }, handle_results); + }, handleResults); } void Client::allProducts() { icclient_allproducts([](icclient_catalog* catalog) { icclient_free_catalog(catalog); - }, handle_results); + }, handleResults); } void Client::emitResults(icclient_fetch_t* fetch) |