Fix a bunch of warnings.
This commit is contained in:
parent
856ac1bd1a
commit
9b49f04239
4 changed files with 13 additions and 6 deletions
|
@ -360,6 +360,7 @@
|
||||||
- (void)setLanguage: (OFString*)language;
|
- (void)setLanguage: (OFString*)language;
|
||||||
- (OFString*)language;
|
- (OFString*)language;
|
||||||
- (BOOL)supportsRosterVersioning;
|
- (BOOL)supportsRosterVersioning;
|
||||||
|
- (BOOL)supportsStreamManagement;
|
||||||
|
|
||||||
/// \cond internal
|
/// \cond internal
|
||||||
- (void)XMPP_startStream;
|
- (void)XMPP_startStream;
|
||||||
|
@ -384,3 +385,6 @@
|
||||||
- (XMPPMulticastDelegate*)XMPP_delegates;
|
- (XMPPMulticastDelegate*)XMPP_delegates;
|
||||||
/// \endcond
|
/// \endcond
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@interface OFObject (XMPPConnectionDelegate) <XMPPConnectionDelegate>
|
||||||
|
@end
|
||||||
|
|
|
@ -58,12 +58,12 @@
|
||||||
[super dealloc];
|
[super dealloc];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)addDelegate: (id <XMPPConnectionDelegate>)delegate
|
- (void)addDelegate: (id <XMPPContactManagerDelegate>)delegate
|
||||||
{
|
{
|
||||||
[_delegates addDelegate: delegate];
|
[_delegates addDelegate: delegate];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)removeDelegate: (id <XMPPConnectionDelegate>)delegate
|
- (void)removeDelegate: (id <XMPPContactManagerDelegate>)delegate
|
||||||
{
|
{
|
||||||
[_delegates removeDelegate: delegate];
|
[_delegates removeDelegate: delegate];
|
||||||
}
|
}
|
||||||
|
|
|
@ -160,3 +160,6 @@
|
||||||
- (XMPPRosterItem*)XMPP_rosterItemWithXMLElement: (OFXMLElement*)element;
|
- (XMPPRosterItem*)XMPP_rosterItemWithXMLElement: (OFXMLElement*)element;
|
||||||
/// \endcond
|
/// \endcond
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@interface OFObject (XMPPRosterDelegate) <XMPPRosterDelegate>
|
||||||
|
@end
|
||||||
|
|
|
@ -90,11 +90,11 @@
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
- (void)connection: (XMPPConnection*)connection_
|
- (void)connection: (XMPPConnection*)connection
|
||||||
wasBoundToJID: (XMPPJID*)jid
|
wasBoundToJID: (XMPPJID*)JID
|
||||||
{
|
{
|
||||||
if ([connection_ supportsStreamManagement])
|
if ([connection supportsStreamManagement])
|
||||||
[connection_ sendStanza:
|
[connection sendStanza:
|
||||||
[OFXMLElement elementWithName: @"enable"
|
[OFXMLElement elementWithName: @"enable"
|
||||||
namespace: XMPP_NS_SM]];
|
namespace: XMPP_NS_SM]];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue