summaryrefslogtreecommitdiff
path: root/qicclient
diff options
context:
space:
mode:
Diffstat (limited to 'qicclient')
-rw-r--r--qicclient/client.hxx6
-rw-r--r--qicclient/product.hxx2
2 files changed, 2 insertions, 6 deletions
diff --git a/qicclient/client.hxx b/qicclient/client.hxx
index 1bc5ea4..1a86a36 100644
--- a/qicclient/client.hxx
+++ b/qicclient/client.hxx
@@ -2,15 +2,13 @@
#define QICCLIENT_CLIENT_HXX
#include <QObject>
-#include <icclient/typedefs.h>
+#include <icclient.h>
namespace QICClient {
using std::shared_ptr;
class Catalog;
-#ifndef __EMSCRIPTEN__
class Ord;
-#endif
class Client : public QObject
{
@@ -47,7 +45,6 @@ namespace QICClient {
*/
void flyPage(QString const& sku, icclient_handler handler);
-#ifndef __EMSCRIPTEN__
/*!
* \brief For putting an item to a cart.
* \param sku The SKU of the item to order.
@@ -55,7 +52,6 @@ namespace QICClient {
* \param order The order.
*/
void order(QString const& sku, Catalog const& catalog, Ord& order);
-#endif
signals:
void gotResults(Catalog* catalog);
diff --git a/qicclient/product.hxx b/qicclient/product.hxx
index 8d7bef3..5d19d41 100644
--- a/qicclient/product.hxx
+++ b/qicclient/product.hxx
@@ -1,7 +1,7 @@
#ifndef QICCLIENT_PRODUCT_HXX
#define QICCLIENT_PRODUCT_HXX
-#include <icclient/product.h>
+#include <icclient.h>
namespace QICClient {