mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 23:10:33 +02:00
Also drops what they guarded: the pre-14 UIImagePickerController and document picker fallbacks, the psychic paper entitlement workaround (fixed in 13.5), and the CS_EXECSEG_ALLOW_UNSIGNED JIT probe, which returned false on everything from 14.4 on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
43 lines
1.1 KiB
Objective-C
43 lines
1.1 KiB
Objective-C
#pragma once
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import <PhotosUI/PhotosUI.h>
|
|
|
|
#import <GameController/GameController.h>
|
|
|
|
#import "CameraHelper.h"
|
|
#import "LocationHelper.h"
|
|
|
|
@interface PPSSPPBaseViewController : UIViewController<
|
|
PHPickerViewControllerDelegate,
|
|
CameraFrameDelegate, LocationHandlerDelegate,
|
|
UIGestureRecognizerDelegate>
|
|
|
|
- (void)hideKeyboard;
|
|
- (void)showKeyboard;
|
|
- (void)shareText:(NSString *)text;
|
|
- (void)shareFile:(NSURL *)url;
|
|
- (void)shutdown;
|
|
- (void)startLocation;
|
|
- (void)stopLocation;
|
|
- (void)startVideo:(int)width height:(int)height;
|
|
- (void)stopVideo;
|
|
- (void)appSwitchModeChanged;
|
|
- (void)immersiveModeChanged;
|
|
- (void)setupController:(GCController *)controller;
|
|
|
|
// Forwarded from the AppDelegate
|
|
- (void)didBecomeActive;
|
|
- (void)willResignActive;
|
|
|
|
- (void)uiStateChanged;
|
|
- (void)pickPhoto:(NSString *)saveFilename requestId:(int)requestId;
|
|
- (void)updateResolutionWithView:(UIView *)view;
|
|
|
|
@end
|
|
|
|
extern PPSSPPBaseViewController *sharedViewController;
|
|
|
|
#define IS_IPAD() ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad)
|
|
#define IS_IPHONE() ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPhone)
|