mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Remove the last non-interface function on the ViewController
This commit is contained in:
@@ -15,6 +15,3 @@
|
||||
@end
|
||||
|
||||
extern id <PPSSPPViewController> sharedViewController;
|
||||
|
||||
void startVideo(int width, int height);
|
||||
void stopVideo();
|
||||
|
||||
@@ -382,11 +382,11 @@ extern float g_safeInsetBottom;
|
||||
}
|
||||
}
|
||||
|
||||
void startVideo(int width, int height) {
|
||||
[cameraHelper startVideo: width h:height];
|
||||
- (void)startVideo:(int)width height:(int)height {
|
||||
[cameraHelper startVideo:width h:height];
|
||||
}
|
||||
|
||||
void stopVideo() {
|
||||
- (void)stopVideo {
|
||||
[cameraHelper stopVideo];
|
||||
}
|
||||
|
||||
|
||||
@@ -13,5 +13,7 @@
|
||||
- (UIView *)getView;
|
||||
- (void)startLocation;
|
||||
- (void)stopLocation;
|
||||
- (void)startVideo:(int)width height:(int)height;
|
||||
- (void)stopVideo;
|
||||
|
||||
@end
|
||||
|
||||
+2
-2
@@ -429,9 +429,9 @@ bool System_MakeRequest(SystemRequestType type, int requestId, const std::string
|
||||
if (!strncmp(param1.c_str(), "startVideo", 10)) {
|
||||
int width = 0, height = 0;
|
||||
sscanf(param1.c_str(), "startVideo_%dx%d", &width, &height);
|
||||
startVideo(width, height);
|
||||
[sharedViewController startVideo:width height:height];
|
||||
} else if (!strcmp(param1.c_str(), "stopVideo")) {
|
||||
stopVideo();
|
||||
[sharedViewController stopVideo];
|
||||
}
|
||||
return true;
|
||||
case SystemRequestType::GPS_COMMAND:
|
||||
|
||||
Reference in New Issue
Block a user