summaryrefslogtreecommitdiff
path: root/qicclient
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-24 23:11:05 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-24 23:11:05 +0800
commite20e3a90e66832809c3b78fd17d19a0008d82378 (patch)
treeac03dba8eedee6ef3a6ad2093391ace8892a14cd /qicclient
A Qt Core based library that depends on libicclient
and can be used for a Qt based project
Diffstat (limited to 'qicclient')
-rw-r--r--qicclient/client.hxx27
1 files changed, 27 insertions, 0 deletions
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 <QObject>
+
+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