mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
(Cocoa) Get rid of RetroArch_Platform
This commit is contained in:
parent
5810a49866
commit
e77f43530e
@ -24,9 +24,6 @@
|
|||||||
#include "../../settings.h"
|
#include "../../settings.h"
|
||||||
#include "../../menu/menu.h"
|
#include "../../menu/menu.h"
|
||||||
|
|
||||||
@protocol RetroArch_Platform
|
|
||||||
@end
|
|
||||||
|
|
||||||
#if defined(HAVE_COCOATOUCH)
|
#if defined(HAVE_COCOATOUCH)
|
||||||
#include <UIKit/UIKit.h>
|
#include <UIKit/UIKit.h>
|
||||||
|
|
||||||
@ -65,7 +62,7 @@ extern apple_frontend_settings_t apple_frontend_settings;
|
|||||||
+ (CocoaView*)get;
|
+ (CocoaView*)get;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface RetroArch_iOS : UINavigationController<UIApplicationDelegate, UINavigationControllerDelegate, RetroArch_Platform>
|
@interface RetroArch_iOS : UINavigationController<UIApplicationDelegate, UINavigationControllerDelegate>
|
||||||
|
|
||||||
@property (nonatomic) UIWindow* window;
|
@property (nonatomic) UIWindow* window;
|
||||||
@property (nonatomic) NSString* documentsDirectory;
|
@property (nonatomic) NSString* documentsDirectory;
|
||||||
@ -99,7 +96,7 @@ void get_ios_version(int *major, int *minor);
|
|||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface RetroArch_OSX : NSObject<RetroArch_Platform>
|
@interface RetroArch_OSX : NSObject
|
||||||
{
|
{
|
||||||
NSWindow* _window;
|
NSWindow* _window;
|
||||||
NSWindowController* _settingsWindow;
|
NSWindowController* _settingsWindow;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user