From 47b8874cc5c4f432c5972f820b4a8975282bf49a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 15 Dec 2013 18:27:25 +0100 Subject: [PATCH] (iOS/OSX) Implement CLLocationManagerDelegate for views --- apple/OSX/platform.h | 5 +++-- apple/iOS/platform.h | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apple/OSX/platform.h b/apple/OSX/platform.h index 19159f3257..377fd9c93f 100644 --- a/apple/OSX/platform.h +++ b/apple/OSX/platform.h @@ -17,9 +17,10 @@ #ifndef __RARCH_OSX_PLATFORM_H #define __RARCH_OSX_PLATFORM_H -#import +#include +#include -@interface RAGameView : NSView +@interface RAGameView : NSView + (RAGameView*)get; - (void)display; diff --git a/apple/iOS/platform.h b/apple/iOS/platform.h index fd65071fb8..617f4e0851 100644 --- a/apple/iOS/platform.h +++ b/apple/iOS/platform.h @@ -17,6 +17,7 @@ #ifndef __RARCH_IOS_PLATFORM_H #define __RARCH_IOS_PLATFORM_H +#include #import #include "views.h" @@ -39,8 +40,7 @@ extern apple_frontend_settings_t apple_frontend_settings; const void* apple_get_frontend_settings(void); - -@interface RAGameView : UIViewController +@interface RAGameView : UIViewController + (RAGameView*)get; @end