Add the XMPPConnection to xmpp_calback_block_t.

This commit is contained in:
Jonathan Schleifer 2012-02-04 12:52:49 +01:00
parent 6ddf416e50
commit 39e245987c
4 changed files with 12 additions and 5 deletions

View file

@ -23,6 +23,8 @@
#import <ObjFW/ObjFW.h>
#import "XMPPCallback.h"
@class XMPPConnection;
@class XMPPJID;
@class XMPPIQ;
@ -301,7 +303,7 @@
* \param callback The callback block
*/
- (void)sendIQ: (XMPPIQ*)iq
withCallbackBlock: (void(^)(XMPPIQ*))block;
withCallbackBlock: (xmpp_callback_block_t)block;
#endif
/**