logging: fixed lack of use of encoding attribute specified on a stream.
[python.git] / Mac / PythonLauncher / MyDocument.h
blob00c1bae54e2492876a3a5e42c18dc247c8d532f7
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 //
10 #import <Cocoa/Cocoa.h>
12 #import "FileSettings.h"
14 @interface MyDocument : NSDocument <FileSettingsSource>
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;
29 NSString *script;
30 NSString *filetype;
31 FileSettings *settings;
34 - (IBAction)do_run:(id)sender;
35 - (IBAction)do_cancel:(id)sender;
36 - (IBAction)do_reset:(id)sender;
37 - (IBAction)do_apply:(id)sender;
39 - (void)controlTextDidChange:(NSNotification *)aNotification;
41 @end