blob: 00c1bae54e2492876a3a5e42c18dc247c8d532f7 [file] [log] [blame]
Jack Jansen3bbb6172002-07-29 21:36:35 +00001//
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;
Jack Jansen3d3b7462003-02-17 15:40:00 +000017 IBOutlet NSButton *honourhashbang;
Jack Jansen3bbb6172002-07-29 21:36:35 +000018 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;
Jack Jansend7cccdd2003-06-20 22:21:03 +000026 IBOutlet NSTextField *scriptargs;
Jack Jansen3bbb6172002-07-29 21:36:35 +000027 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