mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
(cocoa_common.h) Cleanups
This commit is contained in:
parent
a2f98ebe1c
commit
49e6806ddd
@ -24,13 +24,16 @@
|
|||||||
#include "../../menu/menu_setting.h"
|
#include "../../menu/menu_setting.h"
|
||||||
#include "../../menu/menu.h"
|
#include "../../menu/menu.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_CORELOCATION
|
||||||
|
#include <CoreLocation/CoreLocation.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_COCOATOUCH)
|
#if defined(HAVE_COCOATOUCH)
|
||||||
#include <UIKit/UIKit.h>
|
#include <UIKit/UIKit.h>
|
||||||
|
|
||||||
#include <CoreLocation/CoreLocation.h>
|
#ifdef HAVE_AVFOUNDATION
|
||||||
#import <AVFoundation/AVCaptureOutput.h>
|
#import <AVFoundation/AVCaptureOutput.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*********************************************/
|
/*********************************************/
|
||||||
/* RAMenuBase */
|
/* RAMenuBase */
|
||||||
@ -77,10 +80,6 @@ void get_ios_version(int *major, int *minor);
|
|||||||
|
|
||||||
#elif defined(HAVE_COCOA)
|
#elif defined(HAVE_COCOA)
|
||||||
#include <AppKit/AppKit.h>
|
#include <AppKit/AppKit.h>
|
||||||
#ifdef HAVE_CORELOCATION
|
|
||||||
#include <CoreLocation/CoreLocation.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
@interface CocoaView : NSView
|
@interface CocoaView : NSView
|
||||||
#ifdef HAVE_CORELOCATION
|
#ifdef HAVE_CORELOCATION
|
||||||
|
Loading…
x
Reference in New Issue
Block a user