diff --git a/packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/include/video_player_avfoundation/FVPNativeVideoView.h b/packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/include/video_player_avfoundation/FVPNativeVideoView.h index 1ed6f019edfa..d969355da0dc 100644 --- a/packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/include/video_player_avfoundation/FVPNativeVideoView.h +++ b/packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/include/video_player_avfoundation/FVPNativeVideoView.h @@ -4,6 +4,9 @@ #import #endif +// FIXME Do we even need ifs below? MacOS currently doesn't support FlutterPlatformView. +// But can we complie code without it? And is it good to put iOS-specific code in the main +// directory (video_player_avfoundation? #if TARGET_OS_OSX @interface FVPNativeVideoView : NSView #else diff --git a/packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/include/video_player_avfoundation/FVPVideoPlayerTextureApproach.h b/packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/include/video_player_avfoundation/FVPVideoPlayerTextureApproach.h index 1b29cb3ece5a..aa6f55b18a90 100644 --- a/packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/include/video_player_avfoundation/FVPVideoPlayerTextureApproach.h +++ b/packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/include/video_player_avfoundation/FVPVideoPlayerTextureApproach.h @@ -2,6 +2,7 @@ #import "FVPFrameUpdater.h" #import "FVPVideoPlayer.h" +// FIXME Add docs - what functionality this class adds. @interface FVPVideoPlayerTextureApproach : FVPVideoPlayer // The CALayer associated with the Flutter view this plugin is associated with, if any. @property(nonatomic, readonly) CALayer *flutterViewLayer; diff --git a/packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_ios/FVPNativeVideoView.m b/packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_ios/FVPNativeVideoView.m index 07b269842af5..c40331700a38 100644 --- a/packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_ios/FVPNativeVideoView.m +++ b/packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_ios/FVPNativeVideoView.m @@ -2,6 +2,7 @@ #import "FVPNativeVideoView.h" +// FIXME Add some docs for FVPNativeVideoView and possibly FVPPlayerView @interface FVPPlayerView : UIView @end