summaryrefslogtreecommitdiff
path: root/Mac/OSX/PythonLauncher/FileSettings.h
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-06-20 22:21:03 +0000
committerJack Jansen <jack.jansen@cwi.nl>2003-06-20 22:21:03 +0000
commitd7cccdd591346967d3c0c286b2e7e534435abc12 (patch)
treec6e4a3a623371534f640f1d2af6c227b3d0b5e91 /Mac/OSX/PythonLauncher/FileSettings.h
parent47db25278601d3f9bfedba533e1ba90080f2fbf2 (diff)
downloadcpython-git-d7cccdd591346967d3c0c286b2e7e534435abc12.tar.gz
Added a field that allows the user to set sys.argv-style arguments
to the script. Fixes #757544.
Diffstat (limited to 'Mac/OSX/PythonLauncher/FileSettings.h')
-rwxr-xr-xMac/OSX/PythonLauncher/FileSettings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/OSX/PythonLauncher/FileSettings.h b/Mac/OSX/PythonLauncher/FileSettings.h
index f70b05f518..d807bae59c 100755
--- a/Mac/OSX/PythonLauncher/FileSettings.h
+++ b/Mac/OSX/PythonLauncher/FileSettings.h
@@ -19,6 +19,7 @@
- (BOOL) tabs;
- (NSString *) others;
- (BOOL) with_terminal;
+- (NSString *) scriptargs;
@end
@interface FileSettings : NSObject <FileSettingsSource>
@@ -33,6 +34,7 @@
BOOL nosite; // -S option: don't import site.py
BOOL tabs; // -t option: warn about inconsistent tabs
NSString *others; // other options
+ NSString *scriptargs; // script arguments (not for preferences)
BOOL with_terminal; // Run in terminal window
FileSettings *origsource;