Make rosterItems a property.

This commit is contained in:
Jonathan Schleifer 2012-11-11 12:30:24 +01:00
parent e8e70ff3fb
commit 64dd03952d

View file

@ -89,6 +89,12 @@
* Inherited from the connection if not overridden. * Inherited from the connection if not overridden.
*/ */
@property (assign) id <XMPPStorage> dataStorage; @property (assign) id <XMPPStorage> dataStorage;
/**
* \brief The list of contacts as an OFDictionary with the bare JID as a string
* as key.
*/
@property (readonly, copy) OFDictionary *rosterItems;
#endif #endif
/** /**
@ -100,12 +106,6 @@
*/ */
- initWithConnection: (XMPPConnection*)connection; - initWithConnection: (XMPPConnection*)connection;
/**
* \brief Returns the list of contacts as an OFDictionary with the bare JID as
* a string as key.
*
* \return An autoreleased copy of the dictionary containing the roster items
*/
- (OFDictionary*)rosterItems; - (OFDictionary*)rosterItems;
/** /**