-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBMStringsFileChecker.h
More file actions
38 lines (20 loc) · 986 Bytes
/
BMStringsFileChecker.h
File metadata and controls
38 lines (20 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#import <Foundation/Foundation.h>
#define BMSTRINGSFILECHECK_ERROR_NO_ERROR 0
#define BMSTRINGSFILECHECK_ERROR_REACHED_END_OF_STRING_WHILE_PARSING_QUOTED_STRING 1
#define BMSTRINGSFILECHECK_ERROR_REACHED_END_OF_STRING_IN_COMMENT 2
#define BMSTRINGSFILECHECK_ERROR_REACHED_END_OF_STRING 3
#define BMSTRINGSFILECHECK_ERROR_MISSING_FINAL_SEMICOLON 4
#define BMSTRINGSFILECHECK_ERROR_UNEXPECTED_CHARACTER_SEMICOLON_WANTED 5
#define BMSTRINGSFILECHECK_ERROR_UNEXPECTED_CHARACTER_EQUAL_OR_SEMICOLON_WANTED 6
#define BMSTRINGSFILECHECK_ERROR_INCOMPLETE_ENTRY 7
#define BMSTRINGSFILECHECK_ERROR_INVALID_UTF8_DATA 8
#define BMSTRINGSFILECHECK_ERROR_MISSGING_OPENING_QUOTE 9
@interface BMStringsFileChecker : NSObject
{
id delegate;
NSString * path_;
}
+ (id) stringsFileChecker;
- (BOOL) parseString:(NSString *) inString;
- (BOOL) checkStringsFileAtPath:(NSString *) inPath withDelegate:(id) inDelegate;
@end