ObjXMPP  Diff

Differences From Artifact [a7556ed65c]:

To Artifact [6012950886]:


93
94
95
96
97
98
99
100
101
102
103
104
105
106

107
108
109
110
111
112
113


114
115
116



117
118
119
120
121
122
123
93
94
95
96
97
98
99

100
101
102
103

104
105
106
107
108
109
110


111
112
113


114
115
116
117
118
119
120
121
122
123







-




-

+





-
-
+
+

-
-
+
+
+







 * each contacts presences and the current XMPPRosterItem.
 */
@interface XMPPContactManager: OFObject
#ifdef OF_HAVE_OPTIONAL_PROTOCOLS
    <XMPPConnectionDelegate, XMPPRosterDelegate>
#endif
{
/// \cond internal
	OFMutableDictionary *_contacts;
	XMPPConnection *_connection;
	XMPPRoster *_roster;
	XMPPMulticastDelegate *_delegates;
/// \endcond
}

#ifdef OF_HAVE_PROPERTIES
/// \brief The tracked contacts, with their bare JID as key
@property (readonly) OFDictionary *contacts;
#endif

/**
 * \brief Initializes an already allocated XMPPContactManager.
/*!
 * @brief Initializes an already allocated XMPPContactManager.
 *
 * \param connection The connection to be used to track contacts
 * \return An initialized XMPPContactManager
 * @param connection The connection to be used to track contacts
 * @param roster The roster used by the contact manager
 * @return An initialized XMPPContactManager
 */
- initWithConnection: (XMPPConnection*)connection
	      roster: (XMPPRoster*)roster;

/**
 * \brief Adds the specified delegate.
 *