|
|
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
1.1.1.3 ! root 11: @protocol NSWindowDelegate; // added for Xcode 3.x
1.1.1.2 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
24: void GuiOsx_Pause(void);
25:
26: // Switches back to emulation mode and resume emulation
27: void GuiOsx_Resume(void);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.