mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Convert ui_cocoa_application.m to C
This commit is contained in:
parent
a8beb91f0f
commit
88e927cf94
@ -69,6 +69,10 @@
|
||||
#include "../network/net_logger.c"
|
||||
#endif
|
||||
|
||||
#if TARGET_OS_OSX
|
||||
#include "../ui/drivers/cocoa/ui_cocoa_application.c"
|
||||
#endif
|
||||
|
||||
/*============================================================
|
||||
COMPATIBILITY
|
||||
============================================================ */
|
||||
|
@ -39,7 +39,6 @@
|
||||
#if TARGET_OS_OSX
|
||||
#include "../ui/drivers/cocoa/ui_cocoa_window.m"
|
||||
#include "../ui/drivers/cocoa/ui_cocoa_browser_window.m"
|
||||
#include "../ui/drivers/cocoa/ui_cocoa_application.m"
|
||||
#include "../ui/drivers/cocoa/ui_cocoa_msg_window.m"
|
||||
#include "../ui/drivers/ui_cocoa.m"
|
||||
#endif
|
||||
|
@ -19,11 +19,15 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <objc/objc-runtime.h>
|
||||
#include <objc/objc.h>
|
||||
#include <objc/message.h>
|
||||
#include <objc/NSObjCRuntime.h>
|
||||
#include "cocoa_defines.h"
|
||||
#include "cocoa_common.h"
|
||||
#include "../../ui_companion_driver.h"
|
||||
|
||||
extern id NSApp;
|
||||
extern id const NSDefaultRunLoopMode;
|
||||
|
||||
static void* ui_application_cocoa_initialize(void)
|
||||
{
|
||||
return NULL;
|
Loading…
Reference in New Issue
Block a user