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;
107 #endif // RESOURCE_H__
std::list< const StanzaExtension * > StanzaExtensionList
An abstraction of a roster item.
Presence::PresenceType presence() const
void clearList(std::list< T * > &L)
Resource(int priority, const std::string &msg, Presence::PresenceType presence)
Holds resource attributes.
The namespace for the gloox library.
const StanzaExtensionList & extensions() const
const std::string & message() const