|
|
1.1 ! root 1: /* ! 2: Hatari - CreateFloppyController.m ! 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 ! 11: @interface ModalWrapper : NSObject ! 12: { ! 13: IBOutlet NSWindow *modalWindow; ! 14: } ! 15: - (void)runModal:(NSWindow*)window; ! 16: - (void)windowWillClose:(NSNotification*)notification; ! 17: @end ! 18: ! 19: // Helper function to write the contents of a path as an NSString to a string ! 20: void GuiOsx_ExportPathString(NSString* path, char* szTarget, size_t cchTarget); ! 21: ! 22: // Pauses emulation and gets ready to use Cocoa UI ! 23: void GuiOsx_PauseAndSwitchToCocoaUI(); ! 24: ! 25: // Switches back to emulation mode and resume emulation ! 26: void GuiOsx_ResumeFromCocoaUI();
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.