13 #include "messageevent.h" 21 static const char* eventValues [] = {
35 TagList::const_iterator it = l.begin();
37 for( ; it != l.end(); ++it )
38 event |= util::lookup2( (*it)->name(), eventValues );
45 static const std::string filter =
"/message/x[@xmlns='" +
XMLNS_X_EVENT +
"']";
54 new Tag( x,
"offline" );
56 new Tag( x,
"delivered" );
58 new Tag( x,
"displayed" );
60 new Tag( x,
"composing" );
63 new Tag( x,
"id", m_id );
const TagList & children() const
std::list< Tag * > TagList
The namespace for the gloox library.
virtual const std::string & filterString() const
This class abstracts a stanza extension, which is usually an element in a specific namespace...
const std::string XMLNS_X_EVENT
This is an abstraction of an XML element.
MessageEvent(const Tag *tag)