17 #ifndef __COCOA_COMMON_METAL_H 18 #define __COCOA_COMMON_METAL_H 20 #include <Foundation/Foundation.h> 23 #include "../../menu/menu_setting.h" 24 #include "../../menu/menu_driver.h" 27 #ifdef HAVE_CORELOCATION 28 #include <CoreLocation/CoreLocation.h> 31 #if defined(HAVE_COCOATOUCH) 32 #include <UIKit/UIKit.h> 34 #ifdef HAVE_AVFOUNDATION 35 #import <AVFoundation/AVCaptureOutput.h> 45 @property (nonatomic) NSMutableArray* sections;
46 @property (nonatomic)
BOOL hidesHeaders;
48 @property (nonatomic) UILabel *osdmessage;
50 - (
id)initWithStyle:(UITableViewStyle)style;
51 - (
id)itemForIndexPath:(NSIndexPath*)indexPath;
57 char orientations[32];
58 unsigned orientation_flags;
59 char bluetooth_mode[64];
60 } apple_frontend_settings_t;
63 @interface CocoaView : UIViewController<CLLocationManagerDelegate,
64 AVCaptureAudioDataOutputSampleBufferDelegate>
68 @interface RetroArch_iOS : UINavigationController<UIApplicationDelegate,
69 UINavigationControllerDelegate>
71 @property (nonatomic) UIWindow*
window;
72 @property (nonatomic) NSString* documentsDirectory;
74 @property (nonatomic)
int menu_count;
80 - (
void)supportOtherAudioSessions;
82 - (
void)refreshSystemConfig;
83 - (
void)mainMenuPushPop: (
bool)pushp;
84 - (
void)mainMenuRefresh;
89 #elif defined(HAVE_COCOA) 90 #include <AppKit/AppKit.h> 93 #ifdef HAVE_CORELOCATION 94 <CLLocationManagerDelegate>
98 #if !defined(HAVE_COCOA) 106 #define BOXSTRING(x) [NSString stringWithUTF8String:x] 107 #define BOXINT(x) [NSNumber numberWithInt:x] 108 #define BOXUINT(x) [NSNumber numberWithUnsignedInt:x] 109 #define BOXFLOAT(x) [NSNumber numberWithDouble:x] Definition: cocoa_common.m:59
apple_frontend_settings_t apple_frontend_settings
Definition: ui_cocoatouch.m:106
GLenum GLuint id
Definition: glext.h:6233
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
Definition: cocoatouch_menu.m:582
CocoaView * get()
Definition: cocoa_common.m:70
Definition: ui_cocoatouch.m:328
unsigned int BOOL
Definition: gctypes.h:51
void get_ios_version(int *major, int *minor)
Definition: ui_cocoatouch.m:108