|
|
1.1 ! root 1: /* SDLMain.m - main entry point for our Cocoa-ized SDL app ! 2: Initial Version: Darrell Walisser <[email protected]> ! 3: Non-NIB-Code & other changes: Max Horn <[email protected]> ! 4: ! 5: Feel free to customize this file to suit your needs ! 6: */ ! 7: ! 8: #ifndef _SDLMain_h_ ! 9: #define _SDLMain_h_ ! 10: #import <Cocoa/Cocoa.h> ! 11: ! 12: @interface SDLMain : NSObject ! 13: { ! 14: IBOutlet NSMenuItem *beginCaptureAnim; ! 15: IBOutlet NSMenuItem *endCaptureAnim; ! 16: IBOutlet NSMenuItem *beginCaptureSound; ! 17: IBOutlet NSMenuItem *endCaptureSound; ! 18: } ! 19: - (IBAction)openConfig:(id)sender; ! 20: - (IBAction)saveConfig:(id)sender; ! 21: - (IBAction)prefsMenu:(id)sender; ! 22: - (IBAction)warmReset:(id)sender; ! 23: - (IBAction)coldReset:(id)sender; ! 24: - (IBAction)insertDiskA:(id)sender; ! 25: - (IBAction)insertDiskB:(id)sender; ! 26: - (IBAction)help:(id)sender; ! 27: - (IBAction)captureScreen:(id)sender; ! 28: - (IBAction)captureAnimation:(id)sender; ! 29: - (IBAction)endCaptureAnimation:(id)sender; ! 30: //- (IBAction)captureAnimation_AVI:(id)sender; ! 31: //- (IBAction)endCaptureAnimation_AVI:(id)sender; ! 32: - (IBAction)captureSound:(id)sender; ! 33: - (IBAction)endCaptureSound:(id)sender; ! 34: - (IBAction)saveMemorySnap:(id)sender; ! 35: - (IBAction)restoreMemorySnap:(id)sender; ! 36: - (IBAction)doFullScreen:(id)sender; ! 37: - (IBAction)debugUI:(id)sender; ! 38: - (BOOL)validateMenuItem:(NSMenuItem*)item; ! 39: ! 40: ! 41: @end ! 42: ! 43: #endif /* _SDLMain_h_ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.