another.im-ios/Monal/Classes/MLBasePaser.h

31 lines
559 B
C
Raw Normal View History

2024-11-18 14:53:52 +00:00
//
// MLBasePaser.h
// monalxmpp
//
// Created by Anurodh Pokharel on 4/11/20.
// Copyright © 2020 Monal.im. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "MLXMLNode.h"
//stanzas
#import "XMPPIQ.h"
#import "XMPPPresence.h"
#import "XMPPMessage.h"
#import "XMPPDataForm.h"
NS_ASSUME_NONNULL_BEGIN
typedef void (^stanza_completion_t)(MLXMLNode* _Nullable parsedStanza);
@interface MLBasePaser : NSObject <NSXMLParserDelegate>
-(id) initWithCompletion:(stanza_completion_t) completion;
-(void) reset;
@end
NS_ASSUME_NONNULL_END