Annotation of hatari/src/gui-osx/SDLMain.h, revision 1.1.1.7

1.1.1.7 ! root        1: /*
        !             2:     SDLMain.m - main entry point for our Cocoa-ized SDL app
1.1       root        3:        Initial Version: Darrell Walisser <[email protected]>
                      4:        Non-NIB-Code & other changes: Max Horn <[email protected]>
1.1.1.7 ! root        5:       Modifications for Hatari by Miguel Saro and Jerome Vernet
1.1       root        6: 
                      7:     Feel free to customize this file to suit your needs
                      8: */
                      9: 
1.1.1.2   root       10: #ifndef _SDLMain_h_
                     11: #define _SDLMain_h_
1.1       root       12: #import <Cocoa/Cocoa.h>
                     13: 
1.1.1.6   root       14: 
                     15: @interface HatariAppDelegate : NSObject  // <NSApplicationDelegate>
1.1       root       16: {
                     17:     IBOutlet NSMenuItem *beginCaptureAnim;
                     18:     IBOutlet NSMenuItem *endCaptureAnim;
                     19:     IBOutlet NSMenuItem *beginCaptureSound;
                     20:     IBOutlet NSMenuItem *endCaptureSound;
                     21: }
1.1.1.6   root       22: 
1.1.1.2   root       23: - (IBAction)openConfig:(id)sender;
                     24: - (IBAction)saveConfig:(id)sender;
1.1       root       25: - (IBAction)prefsMenu:(id)sender;
1.1.1.4   root       26: 
1.1.1.6   root       27: //- (IBAction)openPreferences:(id)sender;
1.1.1.4   root       28: 
1.1       root       29: - (IBAction)warmReset:(id)sender;
                     30: - (IBAction)coldReset:(id)sender;
                     31: - (IBAction)insertDiskA:(id)sender;
                     32: - (IBAction)insertDiskB:(id)sender;
1.1.1.5   root       33: - (IBAction)help:(id)sender;
                     34: - (IBAction)compat:(id)sender;
1.1       root       35: - (IBAction)captureScreen:(id)sender;
                     36: - (IBAction)captureAnimation:(id)sender;
                     37: - (IBAction)endCaptureAnimation:(id)sender;
1.1.1.6   root       38: //- (IBAction)captureAnimation_AVI:(id)sender;;
1.1.1.2   root       39: //- (IBAction)endCaptureAnimation_AVI:(id)sender;
1.1       root       40: - (IBAction)captureSound:(id)sender;
                     41: - (IBAction)endCaptureSound:(id)sender;
                     42: - (IBAction)saveMemorySnap:(id)sender;
                     43: - (IBAction)restoreMemorySnap:(id)sender;
                     44: - (IBAction)doFullScreen:(id)sender;
1.1.1.2   root       45: - (IBAction)debugUI:(id)sender;
1.1.1.6   root       46: 
1.1       root       47: - (BOOL)validateMenuItem:(NSMenuItem*)item;
1.1.1.6   root       48: - (void)setupWorkingDirectory:(BOOL)shouldChdir ;
                     49: - (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename ;
                     50: - (void)insertDisk:(int)disque ;
                     51: - (BOOL)validateMenuItem:(NSMenuItem*)item ;
                     52: - (NSString*)displayFileSelection:(const char*)pathInParams preferredFileName:(NSString*)preferredFileName allowedExtensions:(NSArray*)allowedExtensions ;
1.1       root       53: 
                     54: @end
1.1.1.2   root       55: 
                     56: #endif /* _SDLMain_h_ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.