summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements/ChatState.h')
-rw-r--r--Swiften/Elements/ChatState.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swiften/Elements/ChatState.h b/Swiften/Elements/ChatState.h
index a7a8b1d..5f0bb9b 100644
--- a/Swiften/Elements/ChatState.h
+++ b/Swiften/Elements/ChatState.h
@@ -12,10 +12,13 @@
12#include <Swiften/Elements/Payload.h> 12#include <Swiften/Elements/Payload.h>
13 13
14namespace Swift { 14namespace Swift {
15 class SWIFTEN_API ChatState : public Payload { 15 class SWIFTEN_API ChatState : public Payload {
16 public: 16 public:
17 typedef boost::shared_ptr<ChatState> ref;
18
19 public:
17 enum ChatStateType {Active, Composing, Paused, Inactive, Gone}; 20 enum ChatStateType {Active, Composing, Paused, Inactive, Gone};
18 ChatState(ChatStateType state = Active) { 21 ChatState(ChatStateType state = Active) {
19 state_ = state; 22 state_ = state;
20 } 23 }
21 24