diff --git a/Classes/MPVideoView.h b/Classes/MPVideoView.h new file mode 100644 index 0000000..56de834 --- /dev/null +++ b/Classes/MPVideoView.h @@ -0,0 +1,80 @@ +// +// MPVideoView.h +// Tuve +// +// Created by Philippe Hausler on 9/17/08 using class-dump. +// class-dump -H /Developer/Platforms/iPhoneSimulator.platform/SDKs/iPhoneSimulator2.1.sdk/System/Library/Frameworks/MediaPlayer.Framework/MediaPlayer +// This class seems to be the UIView decendant that is embedded into the fullscreen player. NOTE: It is lacking a play file/stream method! +// + +#import + + +@class CALayer, MPVideoBufferLayerContainer, MovieSnapshotController, NSString, UIMovieSubtitlesView; + +@interface MPVideoView : UIView +{ + UIView *_videoBufferContainerView; + MPVideoBufferLayerContainer *_videoBufferContainerLayer; + CALayer *_videoBufferLayer; + UIMovieSubtitlesView *_subtitlesView; + struct CGSize _subtitlesMargin; + MovieSnapshotController *_snapshotController; + NSString *_moviePath; + NSString *_movieSubtitle; + NSString *_movieTitle; + unsigned int _scaleMode; + unsigned int _effectiveScaleMode; + unsigned int _disableFudgingScaleToFullScreen:1; +} + +- (id)initWithFrame:(struct CGRect)fp8; +- (void)dealloc; +- (BOOL)canChangeScaleMode; +- (id)moviePath; +- (id)movieSubtitle; +- (void)prepareAVControllerQueue; +- (void)setMovieWithPath:(id)fp8; +- (void)playWhenLikelyToKeepUp; +- (void)playFromBeginning; +- (void)setScaleMode:(unsigned int)fp8; +- (void)setScaleMode:(unsigned int)fp8 animated:(BOOL)fp12; +- (void)setSubtitlesMargin:(struct CGSize)fp8; +- (void)setSubtitlesPadding:(struct CGSize)fp8; +- (struct CGSize)subtitlesPadding; +- (void)toggleScaleMode:(BOOL)fp8; +- (void)_bufferingStateChangedNotification:(id)fp8; +- (void)_itemWillChangeNotification:(id)fp8; +- (void)_playbackStateChangedNotification:(id)fp8; +- (void)_sizeDidChangedNotification:(id)fp8; +- (void)_validityChangedNotification:(id)fp8; +- (void)subtitlesDidClear:(id)fp8; +- (void)subtitlesDidUpdate:(id)fp8; +- (void)cancelSnapshots; +- (void)scheduleThumbnailWithSize:(struct CGSize)fp8 orientation:(int)fp16 time:(float)fp20 delegate:(id)fp24; +- (id)_avController; +- (BOOL)_isCloseToFullScreenWithTransform:(struct CGAffineTransform)fp8; +- (void)_layoutSublayers; +- (void)_layoutSubtitleLayers; +- (void)_layoutVideoLayers:(BOOL)fp8; +- (void)insertSubview:(id)fp8 atIndex:(unsigned int)fp12; +- (void)exchangeSubviewAtIndex:(unsigned int)fp8 withSubviewAtIndex:(unsigned int)fp12; +- (void)addSubview:(id)fp8; +- (void)bringSubviewToFront:(id)fp8; +- (void)insertSubview:(id)fp8 below:(id)fp12; +- (id)viewWithTag:(int)fp8; +- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16; +- (id)hitTest:(struct CGPoint)fp8 withEvent:(id)fp16; +- (void)setFrame:(struct CGRect)fp8; +- (void)setNeedsDisplay; +- (void)setNeedsDisplayInRect:(struct CGRect)fp8; +- (struct CGSize)subtitlesMargin; +- (unsigned int)effectiveScaleMode; +- (void)setEffectiveScaleMode:(unsigned int)fp8; +- (unsigned int)scaleMode; +- (id)movieTitle; +- (void)setMovieTitle:(id)fp8; +- (void)setMovieSubtitle:(id)fp8; + +@end +