ObjFW  Diff

Differences From Artifact [2d338a54e8]:

To Artifact [7ded0c5e85]:


10
11
12
13
14
15
16

17
18
19
20
21
22
23
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24







+







 */

#import "OFObject.h"
#import "OFString.h"

extern int _OFXMLParser_reference;

@class OFMutableString;
@class OFXMLParser;

/**
 * A protocol that needs to be implemented by delegates for OFXMLParser.
 */
@protocol OFXMLParserDelegate
/**
116
117
118
119
120
121
122
123

124
125
126
127

128
129
130
131

132
133
134
135
136
137
138
117
118
119
120
121
122
123

124
125
126
127

128
129
130
131

132
133
134
135
136
137
138
139







-
+



-
+



-
+







		OF_XMLPARSER_EXPECT_CLOSE,
		OF_XMLPARSER_EXPECT_SPACE_OR_CLOSE,
		OF_XMLPARSER_IN_COMMENT_1,
		OF_XMLPARSER_IN_COMMENT_2,
		OF_XMLPARSER_IN_COMMENT_3,
		OF_XMLPARSER_IN_COMMENT_4
	} state;
	OFString *cache;
	OFMutableString *cache;
	OFString *name;
	OFString *prefix;
	OFString *ns;
	OFArray *attrs;
	OFMutableArray *attrs;
	OFString *attr_name;
	OFString *attr_prefix;
	char delim;
	OFArray *previous;
	OFMutableArray *previous;
}

/**
 * \return A new, autoreleased OFXMLParser
 */
+ xmlParser;