14 #include "chatstatefilter.h"
15 #include "chatstatehandler.h"
16 #include "messageeventhandler.h"
17 #include "messagesession.h"
19 #include "chatstate.h"
26 m_enableChatStates( true )
void setChatState(ChatStateType state)
virtual void decorate(Message &msg)
ChatStateFilter(MessageSession *parent)
virtual void filter(Message &msg)
ChatStateHandler * m_chatStateHandler
virtual ~ChatStateFilter()
virtual void handleChatState(const JID &from, ChatStateType state)=0
An implementation of Chat State Notifications (XEP-0085) as a StanzaExtension.
ChatStateType state() const
Virtual base class for message filters.
An abstraction of a message session between any two entities.
const JID & target() const
An abstraction of a message stanza.
const std::string body(const std::string &lang="default") const
void addExtension(const StanzaExtension *se)
const StanzaExtension * findExtension(int type) const
The namespace for the gloox library.