mirror of
https://github.com/libretro/bsnes-libretro.git
synced 2024-12-11 19:13:34 +00:00
d2211d8818
* improved appended firmware detection [devinacker] * added dynamic rate control support to ALSA and PulseAudio drivers [RedDwarf] * added option to use native file dialogs
28 lines
691 B
C++
Executable File
28 lines
691 B
C++
Executable File
#if defined(Hiro_Application)
|
|
|
|
@interface CocoaDelegate : NSObject <NSApplicationDelegate> {
|
|
}
|
|
-(NSApplicationTerminateReply) applicationShouldTerminate:(NSApplication*)sender;
|
|
-(BOOL) applicationShouldHandleReopen:(NSApplication*)application hasVisibleWindows:(BOOL)flag;
|
|
-(void) run:(NSTimer*)timer;
|
|
-(void) updateInDock:(NSTimer*)timer;
|
|
@end
|
|
|
|
namespace hiro {
|
|
|
|
struct pApplication {
|
|
static auto exit() -> void;
|
|
static auto modal() -> bool;
|
|
static auto run() -> void;
|
|
static auto pendingEvents() -> bool;
|
|
static auto processEvents() -> void;
|
|
static auto quit() -> void;
|
|
static auto setScreenSaver(bool screenSaver) -> void;
|
|
|
|
static auto initialize() -> void;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|