Launcher.h 951 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #import <Cocoa/Cocoa.h>
  2. @class ConsoleView;
  3. @interface Launcher : NSObject<NSToolbarDelegate> {
  4. IBOutlet NSTextField *admin_password;
  5. IBOutlet NSWindow *window;
  6. //able to leave these disconnected
  7. IBOutlet NSView *view1; //Main
  8. //20/7/13: RR Removing keys submenu
  9. // IBOutlet NSView *view3; //Keys
  10. IBOutlet NSView *view4; //Server
  11. IBOutlet NSProgressIndicator *prog; //while scanning maps - it's there if you want to wire it up
  12. IBOutlet NSArrayController *maps;
  13. IBOutlet NSArrayController *keys;
  14. IBOutlet NSPopUpButton *resolutions;
  15. IBOutlet NSButton *stencil;
  16. IBOutlet NSButton *multiplayer;
  17. IBOutlet ConsoleView *console;
  18. @private
  19. NSMutableDictionary *toolBarItems;
  20. pid_t server;
  21. NSMutableDictionary *fileRoles;
  22. }
  23. - (IBAction)playAction:(id)sender;
  24. - (IBAction)multiplayerAction:(id)sender;
  25. - (IBAction)playMap:(id)sender;
  26. - (IBAction)openUserdir:(id)sender;
  27. @end