Overview
Comment: | XMPPRoster: Add getter for the connection. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
08b4d64469eff5daf20851b960599d8c |
User & Date: | js on 2012-11-11 11:21:34 |
Other Links: | manifest | tags |
Context
2012-11-11
| ||
11:30 | Make rosterItems a property. check-in: e69da0f2df user: js tags: trunk | |
11:21 | XMPPRoster: Add getter for the connection. check-in: 08b4d64469 user: js tags: trunk | |
2012-11-09
| ||
21:00 | Fix an evil typo. check-in: a7d8370069 user: js tags: trunk | |
Changes
Modified src/XMPPRoster.h from [acffd733aa] to [93aebef7ab].
︙ | ︙ | |||
74 75 76 77 78 79 80 81 82 83 84 85 86 87 | XMPPMulticastDelegate *delegates; id <XMPPStorage> dataStorage; BOOL rosterRequested; /// \endcond } #ifdef OF_HAVE_PROPERTIES /** * \brief An object for data storage, conforming to the XMPPStorage protocol. * * Inherited from the connection if not overridden. */ @property (assign) id <XMPPStorage> dataStorage; #endif | > > > > > | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | XMPPMulticastDelegate *delegates; id <XMPPStorage> dataStorage; BOOL rosterRequested; /// \endcond } #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. * * Inherited from the connection if not overridden. */ @property (assign) id <XMPPStorage> dataStorage; #endif |
︙ | ︙ | |||
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | /** * \brief Removes the specified delegate. * * \param delegate The delegate to remove */ - (void)removeDelegate: (id <XMPPRosterDelegate>)delegate; - (void)setDataStorage: (id <XMPPStorage>)dataStorage; - (id <XMPPStorage>)dataStorage; /// \cond internal - (void)XMPP_updateRosterItem: (XMPPRosterItem*)rosterItem; - (void)XMPP_handleInitialRosterForConnection: (XMPPConnection*)connection withIQ: (XMPPIQ*)iq; - (XMPPRosterItem*)XMPP_rosterItemWithXMLElement: (OFXMLElement*)element; /// \endcond @end | > > | 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | /** * \brief Removes the specified delegate. * * \param delegate The delegate to remove */ - (void)removeDelegate: (id <XMPPRosterDelegate>)delegate; - (XMPPConnection*)connection; - (void)setDataStorage: (id <XMPPStorage>)dataStorage; - (id <XMPPStorage>)dataStorage; /// \cond internal - (void)XMPP_updateRosterItem: (XMPPRosterItem*)rosterItem; - (void)XMPP_handleInitialRosterForConnection: (XMPPConnection*)connection withIQ: (XMPPIQ*)iq; - (XMPPRosterItem*)XMPP_rosterItemWithXMLElement: (OFXMLElement*)element; /// \endcond @end |
Modified src/XMPPRoster.m from [af0b58584d] to [6939ec3b66].
︙ | ︙ | |||
214 215 216 217 218 219 220 221 222 223 224 225 226 227 | { if (rosterRequested) @throw [OFInvalidArgumentException exceptionWithClass: [self class]]; dataStorage = dataStorage_; } - (id <XMPPStorage>)dataStorage { return dataStorage; } - (void)XMPP_updateRosterItem: (XMPPRosterItem*)rosterItem | > > > > > | 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 | { if (rosterRequested) @throw [OFInvalidArgumentException exceptionWithClass: [self class]]; dataStorage = dataStorage_; } - (XMPPConnection*)connection { return connection; } - (id <XMPPStorage>)dataStorage { return dataStorage; } - (void)XMPP_updateRosterItem: (XMPPRosterItem*)rosterItem |
︙ | ︙ |