1 2 #import <Foundation/Foundation.h> 3 #import <AppKit/AppKit.h> 4 #import <AppKit/NSDocumentController.h> 5 6 #import "Document.h" 7 #import "VScheme.h" 8 #import "SCMTextView.h" 9 10 @interface SchemeDelegate : NSObject 11 { 12 SCMInteractive *intTextView; 13 NSTextView *statTextView; 14 15 NSMutableArray *imageWindows; 16 NSMutableArray *envWindows; 17 18 NSPanel *interruptPanel; 19 } 20 21 - (void)applicationWillFinishLaunching:(NSNotification *)not; 22 - (void)applicationDidFinishLaunching:(NSNotification *)not; 23 24 25 - makeInterpreterWindow; 26 - makeStatisticsPanel; 27 28 - makeInterruptPanel; 29 - (NSPanel *)interruptPanel; 30 31 - input:(NSString *)data; 32 - output:(NSString *)data; 33 - result:(id)item; 34 - statistics:(NSString *)stats; 35 36 - imageWindow:(NSWindow *)window; 37 - envWindow:(NSWindow *)window; 38 39 - closeImageWindows:(id)sender; 40 - closeEnvWindows:(id)sender; 41 42 43 - reset:(id)sender; 44 - addExternal:(id)sender; 45 - evaluateExternal:(id)sender; 46 47 @end 48