Add the XMPPConnection to xmpp_calback_block_t.
This commit is contained in:
parent
6ddf416e50
commit
39e245987c
4 changed files with 12 additions and 5 deletions
|
@ -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
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue