-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathSdefDocument.h
40 lines (31 loc) · 1.07 KB
/
SdefDocument.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
/*
* SdefDocument.h
* Sdef Editor
*
* Created by Rainbow Team.
* Copyright © 2006 - 2007 Shadow Lab. All rights reserved.
*/
#import "SdefBase.h"
@protocol SdefParserDelegate;
@class SdefObject, SdefDictionary, SdefClassManager;
@class SdefWindowController, SdefSymbolBrowser, SdefValidator;
SPX_PRIVATE
SdefDictionary *SdefLoadDictionary(NSURL *file, NSInteger *version, id<SdefParserDelegate> delegate, NSError **error);
SPX_PRIVATE
SdefDictionary *SdefLoadDictionaryData(NSData *data, NSURL *base, NSInteger *version, id<SdefParserDelegate> delegate, NSError **error);
@interface SdefDocument : NSDocument {
@private
SdefDictionary *sd_dictionary;
SdefClassManager *sd_manager;
NSNotificationCenter *sd_center;
}
- (SdefObject *)selection;
- (SdefValidator *)validator;
- (SdefSymbolBrowser *)symbolBrowser;
- (SdefWindowController *)documentWindow;
- (SdefDictionary *)dictionary;
- (void)setDictionary:(SdefDictionary *)dictionary;
- (IBAction)exportTerminology:(id)sender;
- (SdefClassManager *)classManager;
- (NSNotificationCenter *)notificationCenter;
@end