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