--- hatari/src/gui-osx/Shared.h 2019/04/01 07:13:04 1.1 +++ hatari/src/gui-osx/Shared.h 2019/04/09 08:51:02 1.1.1.5 @@ -1,5 +1,5 @@ /* - Hatari - CreateFloppyController.m + Hatari - Shared.h This file is distributed under the GNU Public License, version 2 or at your option any later version. Read the file gpl.txt for details. @@ -8,7 +8,8 @@ #import // Wrapper to run an NSWindow modally -@interface ModalWrapper : NSObject +@protocol NSWindowDelegate; +@interface ModalWrapper : NSWindowController { IBOutlet NSWindow *modalWindow; } @@ -20,7 +21,7 @@ void GuiOsx_ExportPathString(NSString* path, char* szTarget, size_t cchTarget); // Pauses emulation and gets ready to use Cocoa UI -void GuiOsx_PauseAndSwitchToCocoaUI(); +void GuiOsx_Pause(void); // Switches back to emulation mode and resume emulation -void GuiOsx_ResumeFromCocoaUI(); \ No newline at end of file +void GuiOsx_Resume(void);