(iOS/OSX) Implement CLLocationManagerDelegate for views

This commit is contained in:
twinaphex 2013-12-15 18:27:25 +01:00
parent 99db8ca731
commit 47b8874cc5
2 changed files with 5 additions and 4 deletions

View File

@ -17,9 +17,10 @@
#ifndef __RARCH_OSX_PLATFORM_H
#define __RARCH_OSX_PLATFORM_H
#import <AppKit/AppKit.h>
#include <AppKit/AppKit.h>
#include <CoreLocation/CoreLocation.h>
@interface RAGameView : NSView
@interface RAGameView : NSView<CLLocationManagerDelegate>
+ (RAGameView*)get;
- (void)display;

View File

@ -17,6 +17,7 @@
#ifndef __RARCH_IOS_PLATFORM_H
#define __RARCH_IOS_PLATFORM_H
#include <CoreLocation/CoreLocation.h>
#import <AVFoundation/AVCaptureOutput.h>
#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<AVCaptureAudioDataOutputSampleBufferDelegate>
@interface RAGameView : UIViewController<CLLocationManagerDelegate, AVCaptureAudioDataOutputSampleBufferDelegate>
+ (RAGameView*)get;
@end