XMPPRoster: Add getter for the connection.

This commit is contained in:
Jonathan Schleifer 2012-11-11 12:21:34 +01:00
parent f9912bd3ad
commit e8e70ff3fb
2 changed files with 12 additions and 0 deletions

View file

@ -78,6 +78,11 @@
}
#ifdef OF_HAVE_PROPERTIES
/**
* \brief The connection to which the roster belongs
*/
@property (readonly, assign) XMPPConnection *connection;
/**
* \brief An object for data storage, conforming to the XMPPStorage protocol.
*
@ -143,6 +148,8 @@
*/
- (void)removeDelegate: (id <XMPPRosterDelegate>)delegate;
- (XMPPConnection*)connection;
- (void)setDataStorage: (id <XMPPStorage>)dataStorage;
- (id <XMPPStorage>)dataStorage;