diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-10-02 15:18:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-02 15:18:03 +0200 |
commit | 0d07a935e90eea0f652448784ea9cf6542593912 (patch) | |
tree | 593efc8b2d5307f92d6ecbe0b341c7d9d35d1d24 /platform/iphone/view_controller.h | |
parent | e2e20ae41bd9f1828f0a4812c4b95aaf3a7eeb5b (diff) | |
parent | 6ee74de9eeb6ff0fdcad81955bd989e793625edc (diff) |
Merge pull request #42503 from naithar/feature/ios-cleanup-arc
[4.0] [iOS] Switch to ARC. Refactoring and cleanup.
Diffstat (limited to 'platform/iphone/view_controller.h')
-rw-r--r-- | platform/iphone/view_controller.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/platform/iphone/view_controller.h b/platform/iphone/view_controller.h index dffdc01d4a..b0b31ae377 100644 --- a/platform/iphone/view_controller.h +++ b/platform/iphone/view_controller.h @@ -32,17 +32,15 @@ #import <UIKit/UIKit.h> @class GodotView; +@class GodotNativeVideoView; @interface ViewController : UIViewController <GKGameCenterControllerDelegate> -- (GodotView *)godotView; +@property(nonatomic, readonly, strong) GodotView *godotView; +@property(nonatomic, readonly, strong) GodotNativeVideoView *videoView; // MARK: Native Video Player - (BOOL)playVideoAtPath:(NSString *)filePath volume:(float)videoVolume audio:(NSString *)audioTrack subtitle:(NSString *)subtitleTrack; -- (BOOL)isVideoPlaying; -- (void)pauseVideo; -- (void)unpauseVideo; -- (void)stopVideo; @end |