From 233038776d63980494929f745d90af86a55e12ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Thu, 17 Jun 2021 22:26:34 +0800 Subject: Rename fetch to response --- client.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'client.cxx') diff --git a/client.cxx b/client.cxx index 9b0411a..5a69d52 100644 --- a/client.cxx +++ b/client.cxx @@ -6,9 +6,9 @@ static QICClient::Client* client; -static void handleResults(icclient_response* fetch) +static void handleResults(icclient_response* response) { - client->emitResults(fetch); + client->emitResults(response); } static void callback(icclient_catalog* catalog) @@ -45,14 +45,14 @@ namespace QICClient { icclient_allproducts(handleResults, nullptr); } - void Client::allproducts(void (*handler)(icclient_response* fetch)) + void Client::allproducts(void (*handler)(icclient_response* response)) { icclient_allproducts(handler, callback); } - void Client::emitResults(icclient_response* fetch) + void Client::emitResults(icclient_response* response) { - emit gotResults(fetch); + emit gotResults(response); } void Client::emitCatalog(icclient_catalog* catalog) -- cgit v1.2.3