summaryrefslogtreecommitdiff
path: root/client.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'client.cxx')
-rw-r--r--client.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/client.cxx b/client.cxx
index 7ffe780..d3146ce 100644
--- a/client.cxx
+++ b/client.cxx
@@ -21,6 +21,12 @@ namespace ICClient {
emit gotAllProducts(catalog);
}
+ void Client::order(QString const& sku, icclient_catalog* catalog)
+ {
+ icclient_ord_order* order = nullptr;
+ icclient_order(&order, sku.toLatin1().constData(), catalog);
+ }
+
void Client::logIn(QString const& username, QString const& password)
{
icclient_login(username.toLatin1().constData()