-
Notifications
You must be signed in to change notification settings - Fork 15
/
SdefProcessor.h
51 lines (40 loc) · 1.12 KB
/
SdefProcessor.h
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
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* SdefProcessor.h
* Sdef Editor
*
* Created by Rainbow Team.
* Copyright © 2006 - 2007 Shadow Lab. All rights reserved.
*/
#import "SdefBase.h"
enum {
kSdefUndefinedFormat = 0,
kSdefResourceFormat = 1 << 0,
kSdefScriptSuiteFormat = 1 << 1,
kSdefScriptTerminologyFormat = 1 << 2,
kSdefScriptBridgeHeaderFormat = 1 << 3,
kSdefScriptBridgeImplementationFormat = 1 << 4,
};
typedef NSUInteger SdefProcessorFormat;
@class SdefDocument;
@interface SdefProcessor : NSObject {
id sd_input;
NSString *sd_output;
NSArray *sd_includes;
NSString *sd_version;
NSMutableString *sd_msg;
SdefProcessorFormat sd_format;
}
- (id)initWithFile:(NSString *)aSdefFile;
- (id)initWithSdefDocument:(SdefDocument *)aDocument;
- (NSString *)process;
- (id)input;
- (void)setInput:(id)input;
- (NSString *)output;
- (void)setOutput:(NSString *)output;
- (NSString *)version;
- (void)setVersion:(NSString *)aVersion;
- (NSArray *)includes;
- (void)setIncludes:(NSArray *)includes;
- (SdefProcessorFormat)format;
- (void)setFormat:(SdefProcessorFormat)aFormat;
@end