diff options
Diffstat (limited to 'qicclient')
-rw-r--r-- | qicclient/client.hxx | 27 |
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 |