diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-11 08:07:54 +0800 | 
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-11 08:07:54 +0800 | 
| commit | b213d8324f7cea08efb26f0666b7e9b2451cbf20 (patch) | |
| tree | 40104e2e399f77a8d96703d99c802ccf589d1058 /qicclient | |
| parent | 5dfc6c0c97686ff01539fdf9548678fa507c5167 (diff) | |
Results handler default argument
Diffstat (limited to 'qicclient')
| -rw-r--r-- | qicclient/client.hxx | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/qicclient/client.hxx b/qicclient/client.hxx index d508b16..1bc5ea4 100644 --- a/qicclient/client.hxx +++ b/qicclient/client.hxx @@ -30,13 +30,13 @@ namespace QICClient {  			 * \param prodGroup The name of the product group.  			 * \param handler A pointer to a cURL write function callback.  			 */ -			void results(QString const& prodGroup, icclient_handler handler); +			void results(QString const& prodGroup, icclient_handler handler = nullptr);  			/*!  			 * \brief For fetching data about all active products.  			 * \param handler A pointer to a cURL write function callback.  			 */ -			void allProducts(icclient_handler handler); +			void allProducts(icclient_handler handler = nullptr);  			void emitCatalog(icclient_catalog *catalog); |