You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.0 KiB

  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