14 #ifndef ROSTERITEM_H__
15 #define ROSTERITEM_H__
78 void setName(
const std::string& name );
84 const std::string& name()
const;
91 GLOOX_DEPRECATED
const std::string& jid()
const;
98 const JID& jidJID()
const;
105 void setSubscription(
const std::string& subscription,
const std::string& ask );
129 bool changed()
const;
141 const ResourceMap&
resources()
const {
return m_resources; }
148 const Resource* resource(
const std::string& res )
const;
154 const Resource* highestResource()
const;
169 void setStatus(
const std::string& resource,
const std::string& msg );
176 void setPriority(
const std::string& resource,
int priority );
188 void setSynchronized();
194 void removeResource(
const std::string& resource );
204 ResourceMap m_resources;
210 #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.
The namespace for the gloox library.
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