From e20e3a90e66832809c3b78fd17d19a0008d82378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Tue, 24 Sep 2019 23:11:05 +0800 Subject: A Qt Core based library that depends on libicclient and can be used for a Qt based project --- qicclient/client.hxx | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 qicclient/client.hxx (limited to 'qicclient') diff --git a/qicclient/client.hxx b/qicclient/client.hxx new file mode 100644 index 0000000..aac8fb6 --- /dev/null +++ b/qicclient/client.hxx @@ -0,0 +1,27 @@ +#ifndef QRTCLIENT_CLIENT_HXX +#define QRTCLIENT_CLIENT_HXX + +#include + +namespace ICClient { + + class Client : public QObject + { + Q_OBJECT + + public: + Client(char const* url, char const* certificate = NULL); + ~Client(); + + public slots: + void logIn(QString const& username, QString const& password); + void logOut(); + + signals: + void loggedIn(QString const& username); + void loggedOut(); + }; + +} + +#endif // QRTCLIENT_CLIENT_HXX -- cgit v1.2.3