13 #include "chatstate.h"
21 static const char* stateValues [] = {
29 static inline ChatStateType chatStateType(
const std::string& type )
31 return static_cast<ChatStateType>( util::lookup2( type, stateValues ) );
39 m_state = chatStateType(
tag->
name() );
44 static const std::string filter =
ChatState(const Tag *tag)
virtual const std::string & filterString() const
This class abstracts a stanza extension, which is usually an XML child element in a specific namespac...
This is an abstraction of an XML element.
const std::string & name() const
The namespace for the gloox library.
const std::string XMLNS_CHAT_STATES