mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
(Apple) Header buildfixes
This commit is contained in:
parent
b90a9ad4af
commit
f64f598987
@ -17,22 +17,9 @@
|
||||
#ifndef __COCOA_COMMON_H
|
||||
#define __COCOA_COMMON_H
|
||||
|
||||
#include <Foundation/Foundation.h>
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
#include "../../menu/menu_setting.h"
|
||||
#include "../../menu/menu_driver.h"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_COCOATOUCH)
|
||||
#include <UIKit/UIKit.h>
|
||||
|
||||
#if TARGET_OS_TV
|
||||
#import <GameController/GameController.h>
|
||||
#endif
|
||||
|
||||
#include "cocoa_common_shared.h"
|
||||
|
||||
#if defined(HAVE_COCOATOUCH)
|
||||
#if TARGET_OS_IOS
|
||||
@interface CocoaView : UIViewController<CLLocationManagerDelegate,
|
||||
AVCaptureAudioDataOutputSampleBufferDelegate>
|
||||
@ -65,5 +52,4 @@ void get_ios_version(int *major, int *minor);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -17,13 +17,6 @@
|
||||
#ifndef __COCOA_COMMON_METAL_H
|
||||
#define __COCOA_COMMON_METAL_H
|
||||
|
||||
#include <Foundation/Foundation.h>
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
#include "../../menu/menu_setting.h"
|
||||
#include "../../menu/menu_driver.h"
|
||||
#endif
|
||||
|
||||
#include "cocoa_common_shared.h"
|
||||
|
||||
typedef enum apple_view_type {
|
||||
@ -67,8 +60,6 @@ typedef enum apple_view_type {
|
||||
extern id<ApplePlatform> apple_platform;
|
||||
|
||||
#if defined(HAVE_COCOATOUCH)
|
||||
#include <UIKit/UIKit.h>
|
||||
|
||||
@interface CocoaView : UIViewController<CLLocationManagerDelegate,
|
||||
AVCaptureAudioDataOutputSampleBufferDelegate>
|
||||
+ (CocoaView*)get;
|
||||
|
@ -17,6 +17,20 @@
|
||||
#ifndef __COCOA_COMMON_SHARED_H
|
||||
#define __COCOA_COMMON_SHARED_H
|
||||
|
||||
#include <Foundation/Foundation.h>
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
#include "../../menu/menu_setting.h"
|
||||
#include "../../menu/menu_driver.h"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_COCOATOUCH)
|
||||
#include <UIKit/UIKit.h>
|
||||
|
||||
#if TARGET_OS_TV
|
||||
#import <GameController/GameController.h>
|
||||
#endif
|
||||
|
||||
/*********************************************/
|
||||
/* RAMenuBase */
|
||||
/* A menu class that displays RAMenuItemBase */
|
||||
@ -33,6 +47,8 @@
|
||||
|
||||
@end
|
||||
|
||||
#endif
|
||||
|
||||
typedef struct
|
||||
{
|
||||
char orientations[32];
|
||||
|
Loading…
x
Reference in New Issue
Block a user