mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Remove the last non-interface function on the ViewController
This commit is contained in:
parent
538cc62f16
commit
4726e1f4b3
4 changed files with 7 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue