forked from pmougin/F-Script
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathFSInterpreter.h
28 lines (22 loc) · 864 Bytes
/
FSInterpreter.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
/* FSInterpreter.h Copyright (c) 1998-2009 Philippe Mougin. */
/* This software is open source. See the license. */
#import <Foundation/Foundation.h>
#import "FSInterpreterResult.h"
@class FSExecutor;
@interface FSInterpreter : NSObject <NSCoding>
{
FSExecutor *executor;
}
+ (FSInterpreter *)interpreter;
+ (BOOL) validateSyntaxForIdentifier:(NSString *)identifier;
- (void) browse;
- (void) browse:(id)anObject;
- (NSArray *) identifiers;
- (FSInterpreterResult *) execute:(NSString *)command;
- (void) installFlightTutorial;
- (id) objectForIdentifier:(NSString *)identifier found:(BOOL *)found; // found may be passed as NULL
- (void) setObject:(id)object forIdentifier:(NSString *)identifier;
- (BOOL) setJournalName:(NSString *)filename;
- (void) setShouldJournal:(BOOL)shouldJournal;
- (BOOL) shouldJournal;
@end