mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 15:40:44 +00:00
(iOS/OSX) Implement CLLocationManagerDelegate for views
This commit is contained in:
parent
99db8ca731
commit
47b8874cc5
@ -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;
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user