Files
assaultcube-/source/xcode/Launcher.h
T
core-code fe13d43a59 mac docu fixes, mac launcher backport from sauer, etc
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3372 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-01 17:11:55 +00:00

41 lines
935 B
Objective-C

#import <Cocoa/Cocoa.h>
@class ConsoleView;
@interface Launcher : NSObject {
IBOutlet NSWindow *window;
//able to leave these disconnected
IBOutlet NSView *view1; //Main
IBOutlet NSView *view2; //Maps
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;
BOOL forcename;
}
- (IBAction)playAction:(id)sender;
- (IBAction)multiplayerAction:(id)sender;
- (IBAction)playRpg:(id)sender;
- (IBAction)playMap:(id)sender;
- (IBAction)openUserdir:(id)sender;
@end