summaryrefslogtreecommitdiff
path: root/client.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'client.cxx')
-rw-r--r--client.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/client.cxx b/client.cxx
index 7b91e2d..ae6df8a 100644
--- a/client.cxx
+++ b/client.cxx
@@ -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)