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
@@ -11,12 +11,15 @@
#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
class SWIFTEN_API ChatState : public Payload {
public:
+ typedef boost::shared_ptr<ChatState> ref;
+
+ public:
enum ChatStateType {Active, Composing, Paused, Inactive, Gone};
ChatState(ChatStateType state = Active) {
state_ = state;
}
ChatStateType getChatState() const { return state_; }