MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / HandleQuitMessage

Function HandleQuitMessage

lib/sdl2/src/hidapi/testgui/mac_support.cpp:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15extern FXMainWindow *g_main_window;
16
17static pascal OSErr HandleQuitMessage(const AppleEvent *theAppleEvent, AppleEvent
18 *reply, long handlerRefcon)
19{
20 puts("Quitting\n");
21 FXApp::instance()->exit();
22 return 0;
23}
24
25static pascal OSErr HandleReopenMessage(const AppleEvent *theAppleEvent, AppleEvent
26 *reply, long handlerRefcon)

Callers

nothing calls this directly

Calls 1

exitMethod · 0.45

Tested by

no test coverage detected