diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-24 17:52:24 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-24 17:52:24 +0800 |
commit | 18977911a7645333c1887bfbbee96520226b3989 (patch) | |
tree | c613ae9bbd8ecbe5af80138859e6a01cc75f33e9 | |
parent | a018a703dade256a26f1e3f13591734c0ad171ef (diff) |
Initialisation takes CA certificates file path
and the URL is C string
-rw-r--r-- | client.cxx | 4 | ||||
m--------- | librtclient | 0 | ||||
-rw-r--r-- | qrtclient/client.hxx | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -5,9 +5,9 @@ namespace RTClient { - Client::Client(QString const& url) + Client::Client(char const* url, char const* certificate) { - rtclient_init(url.toLatin1().constData()); + rtclient_init(url, certificate); } void Client::logIn(QString const& name, QString const& password) diff --git a/librtclient b/librtclient -Subproject ab559a9b0a509d9bcf27b43b23f1944e7f595ab +Subproject a2667831d91ca18b9b8d41ad1d52a721103f875 diff --git a/qrtclient/client.hxx b/qrtclient/client.hxx index 628472a..13b935a 100644 --- a/qrtclient/client.hxx +++ b/qrtclient/client.hxx @@ -14,7 +14,7 @@ namespace RTClient { Q_OBJECT public: - Client(QString const& url); + Client(char const* url, char const* certificate = NULL); ~Client(); public slots: |