Launcher.h 836 B

12345678910111213141516171819202122232425262728293031323334353637
  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. IBOutlet NSView *view4; //Server
  9. IBOutlet NSProgressIndicator *prog; //while scanning maps - it's there if you want to wire it up
  10. IBOutlet NSArrayController *maps;
  11. IBOutlet NSPopUpButton *resolutions;
  12. IBOutlet NSButton *stencil;
  13. IBOutlet NSButton *multiplayer;
  14. IBOutlet ConsoleView *console;
  15. @private
  16. NSMutableDictionary *toolBarItems;
  17. pid_t server;
  18. NSMutableDictionary *fileRoles;
  19. }
  20. - (IBAction)playAction:(id)sender;
  21. - (IBAction)multiplayerAction:(id)sender;
  22. - (IBAction)playMap:(id)sender;
  23. - (IBAction)openUserdir:(id)sender;
  24. @end