Having a category for each delegate is not required anymore.

This is thanks to XMPPMulticastDelegate.
This commit is contained in:
Jonathan Schleifer 2012-02-17 18:17:10 +01:00
parent d8dbb5a5e2
commit 19fcc192d7
4 changed files with 0 additions and 66 deletions

View file

@ -363,6 +363,3 @@
- (XMPPMulticastDelegate*)XMPP_delegates;
/// \endcond
@end
@interface OFObject (XMPPConnectionDelegate) <XMPPConnectionDelegate>
@end

View file

@ -1105,52 +1105,3 @@
return delegates;
}
@end
@implementation OFObject (XMPPConnectionDelegate)
- (void)connection: (XMPPConnection*)connection
didReceiveElement: (OFXMLElement*)element
{
}
- (void)connection: (XMPPConnection*)connection
didSendElement: (OFXMLElement*)element
{
}
- (void)connectionWasAuthenticated: (XMPPConnection*)connection
{
}
- (void)connection: (XMPPConnection*)connection
wasBoundToJID: (XMPPJID*)JID
{
}
- (BOOL)connection: (XMPPConnection*)connection
didReceiveIQ: (XMPPIQ*)iq
{
return NO;
}
- (void)connection: (XMPPConnection*)connection
didReceivePresence: (XMPPPresence*)presence
{
}
- (void)connection: (XMPPConnection*)connection
didReceiveMessage: (XMPPMessage*)message
{
}
- (void)connectionWasClosed: (XMPPConnection*)connection
{
}
- (void)connectionWillUpgradeToTLS: (XMPPConnection*)connection
{
}
- (void)connectionDidUpgradeToTLS: (XMPPConnection*)connection
{
}
@end

View file

@ -153,6 +153,3 @@
- (XMPPRosterItem*)XMPP_rosterItemWithXMLElement: (OFXMLElement*)element;
/// \endcond
@end
@interface OFObject (XMPPRosterDelegate) <XMPPRosterDelegate>
@end

View file

@ -353,14 +353,3 @@
withObject: self];
}
@end
@implementation OFObject (XMPPRosterDelegate)
- (void)rosterWasReceived: (XMPPRoster*)roster
{
}
- (void)roster: (XMPPRoster*)roster
didReceiveRosterItem: (XMPPRosterItem*)rosterItem
{
}
@end