summaryrefslogtreecommitdiffstats
path: root/Mac/PythonLauncher/MyDocument.h
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2006-06-07 18:58:01 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2006-06-07 18:58:01 (GMT)
commitc629be8a1e77786e3a839ed4784c7b2b36c6344f (patch)
treebcb61c5bdb2c89bb5028cddeb62646461f33eb46 /Mac/PythonLauncher/MyDocument.h
parent8ec9f866c08f022e2a202c32cf04d0c97822c55e (diff)
downloadcpython-c629be8a1e77786e3a839ed4784c7b2b36c6344f.zip
cpython-c629be8a1e77786e3a839ed4784c7b2b36c6344f.tar.gz
cpython-c629be8a1e77786e3a839ed4784c7b2b36c6344f.tar.bz2
Move Mac/OSX/PythonLauncher one level up
Diffstat (limited to 'Mac/PythonLauncher/MyDocument.h')
-rwxr-xr-xMac/PythonLauncher/MyDocument.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/Mac/PythonLauncher/MyDocument.h b/Mac/PythonLauncher/MyDocument.h
new file mode 100755
index 0000000..00c1bae
--- /dev/null
+++ b/Mac/PythonLauncher/MyDocument.h
@@ -0,0 +1,41 @@
+//
+// MyDocument.h
+// PythonLauncher
+//
+// Created by Jack Jansen on Fri Jul 19 2002.
+// Copyright (c) 2002 __MyCompanyName__. All rights reserved.
+//
+
+
+#import <Cocoa/Cocoa.h>
+
+#import "FileSettings.h"
+
+@interface MyDocument : NSDocument <FileSettingsSource>
+{
+ IBOutlet NSTextField *interpreter;
+ IBOutlet NSButton *honourhashbang;
+ IBOutlet NSButton *debug;
+ IBOutlet NSButton *verbose;
+ IBOutlet NSButton *inspect;
+ IBOutlet NSButton *optimize;
+ IBOutlet NSButton *nosite;
+ IBOutlet NSButton *tabs;
+ IBOutlet NSTextField *others;
+ IBOutlet NSButton *with_terminal;
+ IBOutlet NSTextField *scriptargs;
+ IBOutlet NSTextField *commandline;
+
+ NSString *script;
+ NSString *filetype;
+ FileSettings *settings;
+}
+
+- (IBAction)do_run:(id)sender;
+- (IBAction)do_cancel:(id)sender;
+- (IBAction)do_reset:(id)sender;
+- (IBAction)do_apply:(id)sender;
+
+- (void)controlTextDidChange:(NSNotification *)aNotification;
+
+@end