14 #ifndef ROSTERITEM_H__
15 #define ROSTERITEM_H__
72 void setName(
const std::string& name );
78 const std::string& name()
const;
84 const std::string& jid()
const;
91 void setSubscription(
const std::string& subscription,
const std::string& ask );
115 bool changed()
const;
134 const Resource* resource(
const std::string& res )
const;
140 const Resource* highestResource()
const;
155 void setStatus(
const std::string& resource,
const std::string& msg );
162 void setPriority(
const std::string& resource,
int priority );
174 void setSynchronized();
180 void removeResource(
const std::string& resource );
190 ResourceMap m_resources;
196 #endif // ROSTERITEM_H__
std::list< const StanzaExtension * > StanzaExtensionList
std::map< std::string, Resource * > ResourceMap
An abstraction of a roster item.
std::list< std::string > StringList
Holds resource attributes.
A class holding roster item data.
This class implements Jabber/XMPP roster handling in the jabber:iq:roster namespace.
const std::string EmptyString
const ResourceMap & resources() const