diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-18 10:45:11 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-18 10:45:11 +0800 |
commit | 4870212610b467e6fca26639b8fb129c04f300dc (patch) | |
tree | 182c1cb97eeeddd86d518cf00c9525ed7a2230b1 /qicclient.hxx | |
parent | ac8541c6cf3b5dc6936e458dde83e1eebf0ce9d2 (diff) |
Hide icclient types away from the interface
Diffstat (limited to 'qicclient.hxx')
-rw-r--r-- | qicclient.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/qicclient.hxx b/qicclient.hxx index df9da45..3b7f0d5 100644 --- a/qicclient.hxx +++ b/qicclient.hxx @@ -22,9 +22,10 @@ namespace QICClient { * \param certificate Path to the CA certificate file. */ Client(char const* sampleURL, char const* image_Dir, char const* certificate = nullptr); + /*! + * \brief Destructor. + */ ~Client(); - void emitResponse(icclient_response* response); - void emitCatalog(icclient_catalog* catalog); /*! * \brief For fetching data about a specific product. * \param sku The SKU of the item to order. @@ -38,6 +39,8 @@ namespace QICClient { * \param order The order. */ void order(QString const& sku, Catalog const& catalog, Ord& order); + void emitResults(QString const& response); + void emitCatalog(Catalog* catalog); public slots: /*! |