48 : m_priority( priority ), m_message( msg ), m_presence( presence ) {}
68 const std::string&
message()
const {
return m_message; }
84 void setPriority(
int priority ) { m_priority = priority; }
85 void setMessage( std::string message ) { m_message = message; }
90 StanzaExtensionList::const_iterator it = exts.begin();
91 for( ; it != exts.end(); ++it )
93 m_extensions.push_back( (*it)->clone() );
98 std::string m_message;
Holds resource attributes.
const std::string & message() const
const StanzaExtensionList & extensions() const
Resource(int priority, const std::string &msg, Presence::PresenceType presence)
Presence::PresenceType presence() const
An abstraction of a roster item.
void clearList(std::list< T * > &L)
The namespace for the gloox library.
std::list< const StanzaExtension * > StanzaExtensionList