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;
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;
Holds resource attributes.
A class holding roster item data.
An abstraction of a roster item.
std::map< std::string, Resource * > ResourceMap
const ResourceMap & resources() const
This class implements Jabber/XMPP roster handling in the jabber:iq:roster namespace.
The namespace for the gloox library.
std::list< const StanzaExtension * > StanzaExtensionList
std::list< std::string > StringList
const std::string EmptyString