Annotation of hatari/src/gui-osx/Shared.h, revision 1.1.1.5

1.1       root        1: /*
1.1.1.5 ! root        2:   Hatari - Shared.h
1.1       root        3: 
                      4:   This file is distributed under the GNU Public License, version 2 or at
                      5:   your option any later version. Read the file gpl.txt for details.
                      6: */
                      7: 
                      8: #import <Cocoa/Cocoa.h>
                      9: 
                     10: // Wrapper to run an NSWindow modally
1.1.1.5 ! root       11: @protocol NSWindowDelegate;
1.1.1.4   root       12: @interface ModalWrapper : NSWindowController <NSWindowDelegate>
1.1       root       13: {
                     14:     IBOutlet NSWindow *modalWindow;
                     15: }
                     16: - (void)runModal:(NSWindow*)window;
                     17: - (void)windowWillClose:(NSNotification*)notification;
                     18: @end
                     19: 
                     20: // Helper function to write the contents of a path as an NSString to a string
                     21: void GuiOsx_ExportPathString(NSString* path, char* szTarget, size_t cchTarget);
                     22: 
                     23: // Pauses emulation and gets ready to use Cocoa UI
1.1.1.3   root       24: void GuiOsx_Pause(void);
1.1       root       25: 
                     26: // Switches back to emulation mode and resume emulation
1.1.1.3   root       27: void GuiOsx_Resume(void);

unix.superglobalmegacorp.com

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