From 5559ed29681d031f36e7a7d011e3ec4bec3635f5 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Sat, 24 Oct 2015 00:19:25 +0200 Subject: Implement XEP-0352: Client State Indication This commit is based on a pull request by fbeutel (GitHub) (see #87) and was rebased and slightly modified by me. --- src/client/QXmppClient.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/client/QXmppClient.h') diff --git a/src/client/QXmppClient.h b/src/client/QXmppClient.h index 22a7af65..6771f20c 100644 --- a/src/client/QXmppClient.h +++ b/src/client/QXmppClient.h @@ -140,6 +140,9 @@ public: bool isAuthenticated() const; bool isConnected() const; + bool isActive() const; + void setActive(bool active); + QXmppPresence clientPresence() const; void setClientPresence(const QXmppPresence &presence); -- cgit v1.2.3