/Mac/PythonLauncher/PreferencesWindowController.h

http://unladen-swallow.googlecode.com/ · C++ Header · 38 lines · 27 code · 10 blank · 1 comment · 0 complexity · c9cdd73e43748f6dfb8e1ed799855684 MD5 · raw file

  1. /* PreferencesWindowController */
  2. #import <Cocoa/Cocoa.h>
  3. #import "FileSettings.h"
  4. @interface PreferencesWindowController : NSWindowController <FileSettingsSource>
  5. {
  6. IBOutlet NSPopUpButton *filetype;
  7. IBOutlet NSComboBox *interpreter;
  8. IBOutlet NSButton *honourhashbang;
  9. IBOutlet NSButton *debug;
  10. IBOutlet NSButton *verbose;
  11. IBOutlet NSButton *inspect;
  12. IBOutlet NSButton *optimize;
  13. IBOutlet NSButton *nosite;
  14. IBOutlet NSButton *tabs;
  15. IBOutlet NSTextField *others;
  16. IBOutlet NSButton *with_terminal;
  17. IBOutlet NSTextField *commandline;
  18. FileSettings *settings;
  19. }
  20. + getPreferencesWindow;
  21. - (IBAction)do_reset:(id)sender;
  22. - (IBAction)do_apply:(id)sender;
  23. - (IBAction)do_filetype:(id)sender;
  24. - (void)controlTextDidChange:(NSNotification *)aNotification;
  25. - (unsigned int)comboBox:(NSComboBox *)aComboBox indexOfItemWithStringValue:(NSString *)aString;
  26. - (id)comboBox:(NSComboBox *)aComboBox objectValueForItemAtIndex:(int)index;
  27. - (int)numberOfItemsInComboBox:(NSComboBox *)aComboBox;
  28. @end