diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2006-06-07 18:58:01 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2006-06-07 18:58:01 (GMT) |
commit | c629be8a1e77786e3a839ed4784c7b2b36c6344f (patch) | |
tree | bcb61c5bdb2c89bb5028cddeb62646461f33eb46 /Mac/PythonLauncher/PreferencesWindowController.h | |
parent | 8ec9f866c08f022e2a202c32cf04d0c97822c55e (diff) | |
download | cpython-c629be8a1e77786e3a839ed4784c7b2b36c6344f.zip cpython-c629be8a1e77786e3a839ed4784c7b2b36c6344f.tar.gz cpython-c629be8a1e77786e3a839ed4784c7b2b36c6344f.tar.bz2 |
Move Mac/OSX/PythonLauncher one level up
Diffstat (limited to 'Mac/PythonLauncher/PreferencesWindowController.h')
-rw-r--r-- | Mac/PythonLauncher/PreferencesWindowController.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Mac/PythonLauncher/PreferencesWindowController.h b/Mac/PythonLauncher/PreferencesWindowController.h new file mode 100644 index 0000000..6346996 --- /dev/null +++ b/Mac/PythonLauncher/PreferencesWindowController.h @@ -0,0 +1,38 @@ +/* PreferencesWindowController */ + +#import <Cocoa/Cocoa.h> + +#import "FileSettings.h" + +@interface PreferencesWindowController : NSWindowController <FileSettingsSource> +{ + IBOutlet NSPopUpButton *filetype; + IBOutlet NSComboBox *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 *commandline; + + FileSettings *settings; +} + ++ getPreferencesWindow; + +- (IBAction)do_reset:(id)sender; +- (IBAction)do_apply:(id)sender; +- (IBAction)do_filetype:(id)sender; + +- (void)controlTextDidChange:(NSNotification *)aNotification; + +- (unsigned int)comboBox:(NSComboBox *)aComboBox indexOfItemWithStringValue:(NSString *)aString; +- (id)comboBox:(NSComboBox *)aComboBox objectValueForItemAtIndex:(int)index; +- (int)numberOfItemsInComboBox:(NSComboBox *)aComboBox; + + +@end |