/Mac/PythonLauncher/MyDocument.h

http://unladen-swallow.googlecode.com/ · C++ Header · 41 lines · 26 code · 8 blank · 7 comment · 0 complexity · 56856f8255befd5c4e5312671b79e66b MD5 · raw file

  1. //
  2. // MyDocument.h
  3. // PythonLauncher
  4. //
  5. // Created by Jack Jansen on Fri Jul 19 2002.
  6. // Copyright (c) 2002 __MyCompanyName__. All rights reserved.
  7. //
  8. #import <Cocoa/Cocoa.h>
  9. #import "FileSettings.h"
  10. @interface MyDocument : NSDocument <FileSettingsSource>
  11. {
  12. IBOutlet NSTextField *interpreter;
  13. IBOutlet NSButton *honourhashbang;
  14. IBOutlet NSButton *debug;
  15. IBOutlet NSButton *verbose;
  16. IBOutlet NSButton *inspect;
  17. IBOutlet NSButton *optimize;
  18. IBOutlet NSButton *nosite;
  19. IBOutlet NSButton *tabs;
  20. IBOutlet NSTextField *others;
  21. IBOutlet NSButton *with_terminal;
  22. IBOutlet NSTextField *scriptargs;
  23. IBOutlet NSTextField *commandline;
  24. NSString *script;
  25. NSString *filetype;
  26. FileSettings *settings;
  27. }
  28. - (IBAction)do_run:(id)sender;
  29. - (IBAction)do_cancel:(id)sender;
  30. - (IBAction)do_reset:(id)sender;
  31. - (IBAction)do_apply:(id)sender;
  32. - (void)controlTextDidChange:(NSNotification *)aNotification;
  33. @end