#include <fx.h>
#import <Cocoa/Cocoa.h>
Go to the source code of this file.
◆ check_apple_events()
void check_apple_events |
( |
| ) |
|
Definition at line 74 of file mac_support_cocoa.m.
References HandleEvent(), NULL, and TRUE.
76 NSApplication *app = [NSApplication sharedApplication];
78 NSAutoreleasePool *pool = [NSAutoreleasePool
new];
80 NSEvent*
event = [NSApp nextEventMatchingMask:NSAnyEventMask
82 inMode:NSDefaultRunLoopMode
88 [app sendEvent:
event];
◆ init_apple_message_system()
void init_apple_message_system |
( |
| ) |
|
Definition at line 58 of file mac_support_cocoa.m.
References AEHandler(), d, HandleQuitMessage(), HandleReopenMessage(), and NULL.
62 [[NSApplication sharedApplication] setDelegate:
d];
67 NSAppleEventManager *aem = [NSAppleEventManager sharedAppleEventManager];
68 [aem setEventHandler:d
69 andSelector:
@selector(handleQuitEvent:withReplyEvent:)
70 forEventClass:kCoreEventClass andEventID:kAEQuitApplication];
SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char const char SDL_SCANF_FORMAT_STRING const char return SDL_ThreadFunction const char void return Uint32 return Uint32 SDL_AssertionHandler void SDL_SpinLock SDL_atomic_t int int return SDL_atomic_t return void void void return void return int return SDL_AudioSpec SDL_AudioSpec return int int return return int SDL_RWops int SDL_AudioSpec Uint8 ** d
◆ g_main_window
FXMainWindow* g_main_window |