Ronald Oussoren | c629be8 | 2006-06-07 18:58:01 +0000 | [diff] [blame^] | 1 | // |
| 2 | // MyDocument.h |
| 3 | // PythonLauncher |
| 4 | // |
| 5 | // Created by Jack Jansen on Fri Jul 19 2002. |
| 6 | // Copyright (c) 2002 __MyCompanyName__. All rights reserved. |
| 7 | // |
| 8 | |
| 9 | |
| 10 | #import <Cocoa/Cocoa.h> |
| 11 | |
| 12 | #import "FileSettings.h" |
| 13 | |
| 14 | @interface MyDocument : NSDocument <FileSettingsSource> |
| 15 | { |
| 16 | IBOutlet NSTextField *interpreter; |
| 17 | IBOutlet NSButton *honourhashbang; |
| 18 | IBOutlet NSButton *debug; |
| 19 | IBOutlet NSButton *verbose; |
| 20 | IBOutlet NSButton *inspect; |
| 21 | IBOutlet NSButton *optimize; |
| 22 | IBOutlet NSButton *nosite; |
| 23 | IBOutlet NSButton *tabs; |
| 24 | IBOutlet NSTextField *others; |
| 25 | IBOutlet NSButton *with_terminal; |
| 26 | IBOutlet NSTextField *scriptargs; |
| 27 | IBOutlet NSTextField *commandline; |
| 28 | |
| 29 | NSString *script; |
| 30 | NSString *filetype; |
| 31 | FileSettings *settings; |
| 32 | } |
| 33 | |
| 34 | - (IBAction)do_run:(id)sender; |
| 35 | - (IBAction)do_cancel:(id)sender; |
| 36 | - (IBAction)do_reset:(id)sender; |
| 37 | - (IBAction)do_apply:(id)sender; |
| 38 | |
| 39 | - (void)controlTextDidChange:(NSNotification *)aNotification; |
| 40 | |
| 41 | @end |