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