/*
 *     Generated by class-dump 3.1.2.
 *
 *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
 */

struct CGAffineTransform {
    float _field1;
    float _field2;
    float _field3;
    float _field4;
    float _field5;
    float _field6;
};

struct CGColor;

struct CGPoint {
    float x;
    float y;
};

struct CGRect {
    struct CGPoint origin;
    struct CGSize size;
};

struct CGSize {
    float width;
    float height;
};

struct _NSZone;

struct __CFAttributedString;

struct __GSEvent;

struct __GSFont;

typedef struct {
    float _field1;
    float _field2;
    float _field3;
} CDAnonymousStruct1;

/*
 * File: /Users/natetrue/shared/114/System/Library/Frameworks/MoviePlayerUI.framework/MoviePlayerUI
 *       Current version: 1.0.0, Compatibility version: 1.0.0
 */

@protocol GSEventMonitor <NSObject>
- (void)eventObservableWindow:(id)fp8 willSendEvent:(struct __GSEvent *)fp12;
- (void)eventObservableWindowWillDeallocate:(id)fp8;
@end

@protocol NSObject
- (BOOL)isEqual:(id)fp8;
- (unsigned int)hash;
- (Class)superclass;
- (Class)class;
- (id)self;
- (struct _NSZone *)zone;
- (id)performSelector:(SEL)fp8;
- (id)performSelector:(SEL)fp8 withObject:(id)fp12;
- (id)performSelector:(SEL)fp8 withObject:(id)fp12 withObject:(id)fp16;
- (BOOL)isProxy;
- (BOOL)isKindOfClass:(Class)fp8;
- (BOOL)isMemberOfClass:(Class)fp8;
- (BOOL)conformsToProtocol:(id)fp8;
- (BOOL)respondsToSelector:(SEL)fp8;
- (id)retain;
- (oneway void)release;
- (id)autorelease;
- (unsigned int)retainCount;
- (id)description;
@end

@interface UIImage (MusicUtilities)
- (void)drawInRect:(struct CGRect)fp8;
- (id)imageScaledToSize:(struct CGSize)fp8;
- (id)imageWithRect:(struct CGRect)fp8;
@end

@interface MusicNowPlayingReflectionView : UIImageView
{
    UIImage *_image;
}

- (void)dealloc;
- (void)setImage:(id)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface MusicNowPlayingArtLayer : UIView
{
    UIImageView *_imageView;
    UIImageView *_reflection;
    id _swipeDelegate;
}

- (void)dealloc;
- (struct CGSize)imageSize;
- (void)setAlbumArtImage:(id)fp8 maxSize:(float)fp12;
- (id)albumArtImage;
- (void)setAlbumAlpha:(float)fp8 reflectionAlpha:(float)fp12;
- (void)setReflectionVisible:(BOOL)fp8 withDuration:(float)fp12;
- (void)setSwipeDelegate:(id)fp8;
- (BOOL)canHandleSwipes;
- (BOOL)swipe:(int)fp8 withEvent:(struct __GSEvent *)fp12;

@end

@interface InactivityMonitor : NSObject <GSEventMonitor>
{
    double _inactivityDurationInterval;
    double _lastActivityTime;
    NSTimer *_timer;
    id _delegate;
    int _pendingMouseUpCount;
    UIEventObservableWindow *_window;
    unsigned int _monitoring:1;
}

- (id)initForWindow:(id)fp8 inactivityDuration:(double)fp12 delegate:(id)fp20;
- (void)restartWithDuration:(double)fp8;
- (void)eventObservableWindowWillDeallocate:(id)fp8;
- (void)clearDelegate;
- (void)dealloc;
- (void)_clearTimer;
- (void)_createNewTimer;
- (void)_postTimerFired;
- (void)startMonitoring;
- (void)stopMonitoring;
- (void)timerFired:(id)fp8;
- (void)eventObservableWindow:(id)fp8 willSendEvent:(struct __GSEvent *)fp12;

@end

@interface MediaVolumeSlider : UISliderControl
{
    NSTimer *_commitTimer;
    float _hitBufferY;
    float _hitBufferHeight;
    float _lastCommittedValue;
    float _lastTrackingValue;
    unsigned int _tracking:1;
    unsigned int _endingTracking:1;
    unsigned int _appModeIsMovie:1;
    unsigned int _updatingVolumeForExternalChange:1;
    unsigned int _lastCommitSucceeded:1;
}

+ (float)defaultHeight;
- (BOOL)_setPlayerVolume:(float)fp8;
- (float)_playerVolume;
- (struct CGRect)adjustedFrame:(struct CGRect)fp8;
- (id)initWithFrame:(struct CGRect)fp8 isForMovie:(BOOL)fp24;
- (void)setFrame:(struct CGRect)fp8;
- (BOOL)pointInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)dealloc;
- (struct CGRect)fillBounds;
- (void)drawSliderPiece:(int)fp8 inRect:(struct CGRect)fp12;
- (id)imageForSliderPiece:(int)fp8;
- (id)createSliderKnobView;
- (void)commitVolume:(id)fp8;
- (void)_updateVolume:(id)fp8;
- (void)setValue:(float)fp8 animated:(BOOL)fp12 animationCurve:(int)fp16;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16 fudgeKnob:(BOOL)fp20;
- (BOOL)beginTrackingAt:(struct CGPoint)fp8 withEvent:(struct __GSEvent *)fp16;
- (void)endTrackingAt:(struct CGPoint)fp8 previous:(struct CGPoint)fp16 withEvent:(struct __GSEvent *)fp24;

@end

@interface MovieControlsOverlay : UIView
{
    UINavigationBar *_navBar;
    UINavigationBar *_animatingNavBar;
    MovieScrubberControl *_scrubControl;
    MovieTransportHUD *_transportControls;
    UIProgressIndicator *_preparingDownloadIndicator;
    int _orientation;
    UIImageView *_scrubControlBackgroundView;
    int _displayStyle;
    UITextLabel *_chapterGuideTitleLabel;
    id _chapterGuideAnimationContext;
    id _delegate;
    unsigned int _displayableParts;
    unsigned int _validationDisabledParts;
    unsigned int _showingScaleButton:1;
    unsigned int _showingPreparingDownloadSpinner:1;
    unsigned int _videoOutOn:1;
    unsigned int _hideScanningControlsIsCached:1;
    unsigned int _hideScanningControlsCachedValue:1;
}

+ (id)backgroundImage;
+ (struct CGRect)defaultOutputLayoutRectForVerticalFullScreenMovie;
- (BOOL)_hideScanningControls;
- (unsigned int)_effectiveDisplayableParts;
- (id)_createScrubTimeControlWithFrame:(struct CGRect)fp8;
- (BOOL)isScaleModeButtonNecessary;
- (id)_zoomButtonInfo;
- (void)_setupPreparingDownloadIndicator;
- (void)delayedShowPrepUI:(id)fp8;
- (void)_createControlsIfNecessary;
- (id)initWithFrame:(struct CGRect)fp8 delegate:(id)fp24;
- (void)setVideoOut:(BOOL)fp8;
- (void)setOrientation:(int)fp8;
- (void)buildUI;
- (void)clearDelegate;
- (id)_movieView;
- (void)dealloc;
- (void)_updateStateOfTransportControls;
- (void)_updateTimeDisplayControls;
- (void)updateControls:(unsigned int)fp8;
- (BOOL)_wantsAsyncLoadingIndicator;
- (void)_partAlphaChangeFinished;
- (void)partAlphaAnimationDidStop:(id)fp8 finished:(id)fp12;
- (unsigned int)validationDisabledParts;
- (void)_updateUIForDisplayableParts:(BOOL)fp8;
- (void)setDisplayableMovieParts:(unsigned int)fp8 validationDisabledParts:(unsigned int)fp12 animated:(BOOL)fp16;
- (void)updateDurationWithHint:(float)fp8;
- (void)updateForMovieAttributeAvailability;
- (void)_updateNavigationBarButtons:(BOOL)fp8;
- (void)_updateTransportControlButtons;
- (void)updateScaleModePicker;
- (double)requiredAutoUpdateDuration;
- (BOOL)needsUpdatesWhenPaused;
- (BOOL)canHide;
- (void)setChapterTitle:(id)fp8;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (id)navigationBar;
- (id)_chapterGuideTitleLabel;
- (void)_displayStyleAnimationFinished;
- (void)_chapterGuideAnimationFinished;
- (void)setShowingChapterGuide:(BOOL)fp8 whilePaused:(BOOL)fp12 duration:(float)fp16 context:(id)fp20;
- (void)_languageGuideAnimationFinished;
- (void)setShowingLanguageGuide:(BOOL)fp8 whilePaused:(BOOL)fp12 duration:(float)fp16;
- (BOOL)hudShouldAllowNextPreviousPresses:(id)fp8;
- (void)playPauseButtonPressed:(id)fp8;
- (void)bookmarkButtonPressed:(id)fp8;
- (void)emailLinkButtonPressed:(id)fp8;
- (void)nextButtonPressed:(id)fp8;
- (void)previousButtonPressed:(id)fp8;
- (void)chaptersButtonPressed:(id)fp8;
- (void)alternateTracksButtonPressed:(id)fp8;
- (void)didEnterScanningActiveState:(BOOL)fp8 direction:(int)fp12;
- (void)_postScrubValue:(float)fp8 eventKind:(unsigned int)fp12;
- (void)scrubberControl:(id)fp8 didEnterScrubbingState:(BOOL)fp12;
- (void)scrubberControl:(id)fp8 didChangeToScrubValue:(float)fp12;
- (void)_postExitMessage;
- (void)navigationBar:(id)fp8 buttonClicked:(int)fp12;
- (BOOL)navigationBar:(id)fp8 shouldPopItem:(id)fp12;

@end

@interface UINavigationBar (MMPExtensions)
- (void)setLeftButtonAlpha:(float)fp8;
- (float)leftButtonAlpha;
- (id)leftButton;
- (void)setRightButtonAlpha:(float)fp8;
- (float)rightButtonAlpha;
- (id)rightButton;
@end

@interface MoviePlayerView : UIView
{
    UIWindow *_tvOutWindow;
    MovieTVHUDView *_tvOutHudView;
    MusicNowPlayingArtLayer *_nowPlayingArt;
    MovieBackgroundView *_moviePlayerBackgroundView;
    UIMovieView *_movieView;
    InactivityMonitor *_inactivityMonitor;
    NSTimer *_uiUpdateTimer;
    MovieControlsOverlay *_movieControlsOverlay;
    id _delegate;
    double _nextValidUpdateDate;
    UIView *_flipperView;
    UIMovieChapterListController *_chapterListController;
    UIView *_movieSnapshotView;
    UIMovieAlternateTrackListController *_alternateTracksController;
    int _orientation;
    int _pendingOrientation;
    unsigned int _displayableParts;
    unsigned int _validationDisabledParts;
    unsigned int _currentMarker;
    unsigned int _fakeMarker;
    struct {
        unsigned int playDisabled:1;
        unsigned int wasPlayingBeforeScrub:1;
        unsigned int canShowControlsOverlay:1;
        unsigned int showingOrHidingControlsOverlay:1;
        unsigned int layoutOrientationAfterInitialHidePhaseCompletes;
        unsigned int animationsToFinishBeforeExit:2;
        unsigned int exiting:1;
        unsigned int timeHUDShowing:1;
        unsigned int timeHUDInTransition:1;
        unsigned int movieAttributesAvailable:1;
        unsigned int isFullScreen:1;
        unsigned int suspendOverlayAnimation:1;
        unsigned int disableUnforcedOrientationChanges:1;
        unsigned int readyToBeginPlayback:1;
        unsigned int enableAutoHideAfterOverlayAnimation:1;
        unsigned int orientationChangeInProgress:1;
        unsigned int hasPendingOrientation:1;
        unsigned int showControlsAfterOrientationChangeAnimation:1;
        unsigned int allowQTBackgroundWhenNoVideo:1;
        unsigned int autoplayWhenLikelyToKeepUp:1;
        unsigned int externalSourceManagesStatusBar:1;
        unsigned int videoOutOn:1;
        unsigned int needToReenableSystemMediaHUD:1;
        unsigned int needToPostPlaybackEndedSystemNotification:1;
        unsigned int showingChapterGuide:1;
        unsigned int shouldPlayAfterChapterGuideHidden:1;
        unsigned int shouldHideChapterGuideAfterTimeJump:1;
        unsigned int timeJumpedWhileShowingChapterGuide:1;
        unsigned int shouldPlayAfterLanguageGuideHidden:1;
        unsigned int unused:1;
    } _mpvFlags;
}

- (id)initWithFrame:(struct CGRect)fp8 isFullScreen:(BOOL)fp24;
- (id)initWithSize:(struct CGSize)fp8;
- (void)_disableSystemMediaHUD;
- (void)_reenableSystemMediaHUD;
- (void)_postPlaybackEndedSystemNotification;
- (void)dealloc;
- (void)setDelegate:(id)fp8;
- (BOOL)setUIOrientation:(int)fp8 animated:(BOOL)fp12 forced:(BOOL)fp16;
- (void)_toggleDisplayOrientation;
- (int)orientation;
- (struct CGRect)_movieViewFrameForBounds:(struct CGRect)fp8;
- (void)_layoutUIInRect:(struct CGRect)fp8 fullScreen:(BOOL)fp24 createViews:(BOOL)fp28;
- (void)statusBarHeightChangedNotification:(id)fp8;
- (void)applicationDidResumeNotification:(id)fp8;
- (void)layoutUIInRect:(struct CGRect)fp8 fullScreen:(BOOL)fp24;
- (void)orientationChangeAnimationDidStop:(id)fp8 finished:(id)fp12;
- (void)_layoutOrientationAfterInitialHidePhase:(BOOL)fp8;
- (void)orientationChangeInitialPhaseDidStop:(id)fp8 finished:(id)fp12;
- (void)_layoutForUIOrientationChange:(BOOL)fp8;
- (void)buildUI;
- (void)movieImageChanged;
- (void)_updateChapterTitle;
- (void)_updateUIForDisplayableParts:(BOOL)fp8;
- (void)setDisplayableMovieParts:(unsigned int)fp8 animated:(BOOL)fp12;
- (void)setDisplayable:(BOOL)fp8 movieParts:(unsigned int)fp12 animated:(BOOL)fp16;
- (void)setManagesStatusBar:(BOOL)fp8;
- (void)setAutoPlayWhenLikelyToKeepUp:(BOOL)fp8;
- (void)setCanShowControlsOverlay:(BOOL)fp8;
- (void)setCanAnimateControlsOverlay:(BOOL)fp8;
- (void)exitPlayer;
- (void)setVideoOut:(BOOL)fp8;
- (BOOL)videoOutActive;
- (BOOL)showingChapterGuide;
- (void)setShowingChapterGuide:(BOOL)fp8;
- (void)_playerPlay;
- (void)_playerPause;
- (void)_autoplayForLikelyToKeepUpIfPossibleAndRequested;
- (void)play;
- (void)prepareUI;
- (void)tearDownUI;
- (void)_setPreferenceForMovieScaleMode:(int)fp8;
- (void)_ignoreElapsedTimeUpdatesForALittleBit;
- (double)requiredAutoUpdateDurationForUpdateTimer;
- (void)startUpdateTimer:(BOOL)fp8 inactivityMonitor:(BOOL)fp12;
- (void)stopUpdateTimer:(BOOL)fp8 inactivityMonitor:(BOOL)fp12;
- (BOOL)_needsUpdateTimerWhenPaused;
- (BOOL)_needsUpdateTimerNow;
- (void)_updateTimerFired:(id)fp8;
- (void)movieControlsOverlayAnimationDidStop:(id)fp8 finished:(id)fp12;
- (void)movieControlsOverlayAnimationDidStop:(id)fp8;
- (void)_setOverlaysVisible:(BOOL)fp8 duration:(float)fp12 animateStatusBar:(BOOL)fp16;
- (void)preheatUI;
- (void)setControlsOverlayVisible:(BOOL)fp8 disableAutohide:(BOOL)fp12 animate:(BOOL)fp16 animateStatusBar:(BOOL)fp20;
- (void)setControlsOverlayVisible:(BOOL)fp8 disableAutohide:(BOOL)fp12 animate:(BOOL)fp16;
- (BOOL)_movieControlsOverlayIsShowing;
- (BOOL)_movieControlsOverlayInTransition;
- (BOOL)_canAutohideControlsOverlay;
- (void)_autohideControlsOverlay;
- (void)_createMovieControlsOverlayIfNecesssary;
- (BOOL)_canDoOrientationChangeNow;
- (void)_applyAnyPendingOrientationChanges;
- (void)_updatePlayableContentRelatedUI;
- (void)_updateStateOfMovieControlItem:(unsigned int)fp8;
- (void)_updateStateOfAllMovieControlItems;
- (void)_exitPlayer:(BOOL)fp8 userExited:(BOOL)fp12;
- (BOOL)isScaleModeButtonNecessary;
- (BOOL)isMovieScaleModeButtonNecessaryForMovieControlsOverlay:(id)fp8;
- (BOOL)hideScanningControls:(id)fp8;
- (void)movieControlItemPlayPauseButtonPressed;
- (BOOL)_validateMovieUIPart:(unsigned int)fp8;
- (void)_validateMovieUIButtons;
- (BOOL)_handleForwardButtonPressedForChapters;
- (BOOL)_handleBackwardButtonPressedForChapters;
- (BOOL)_handleForwardButtonPressed;
- (BOOL)_handleBackwardButtonPressed;
- (BOOL)_handleChaptersButtonPressed;
- (BOOL)_handleAlternateTracksButtonPressed;
- (BOOL)_handleButtonPressedForMovieUIPart:(unsigned int)fp8 beforeDelegate:(BOOL)fp12;
- (void)_sendButtonPressedForMovieUIPart:(unsigned int)fp8;
- (void)movieControlItemAddBookmarkButtonPressed;
- (void)movieControlItemEmailButtonPressed;
- (BOOL)overlayShouldAllowNextPreviousPresses:(id)fp8;
- (void)movieControlItemNextButtonPressed;
- (void)movieControlItemPreviousButtonPressed;
- (void)movieControlItemChaptersButtonPressed;
- (void)movieControlItemAlternateTracksButtonPressed;
- (void)movieControlItemTimeScrubberMovedToScrubValue:(float)fp8 forEventKind:(unsigned int)fp12;
- (void)movieControlItemDidEnterScanningActiveState:(BOOL)fp8 direction:(int)fp12;
- (void)movieControlItemExitButtonPressed;
- (void)toggleMovieScaleMode;
- (void)movieControlItemZoomButtonPressed;
- (void)delayedExitAfterHideControlsOverlayCompletes;
- (void)hideControlsOverlayForExiting;
- (id)movieView;
- (void)movieViewMovieAttributesChanged;
- (void)movieViewServerDied:(id)fp8;
- (void)movieViewPlaybackStateDidChange:(id)fp8;
- (void)movieViewCurrentTimeDidChange:(id)fp8;
- (void)movieViewRateChanged:(id)fp8;
- (void)movieViewAttributesDidBecomeAvailable:(id)fp8;
- (void)view:(id)fp8 handleTapWithCount:(int)fp12 event:(struct __GSEvent *)fp16;
- (double)viewDoubleTapDelay:(id)fp8;
- (void)movieViewSourcePathDidChange:(id)fp8;
- (void)movieViewBufferingStatusDidChange:(id)fp8 fromStatus:(int)fp12 toStatus:(int)fp16;
- (void)movieViewPlaybackRequestFailed:(id)fp8;
- (struct CGSize)fillSizeForMovieView:(id)fp8 movieNaturalSize:(struct CGSize)fp12;
- (void)movieView:(id)fp8 crossedTimeMarker:(unsigned int)fp12;
- (void)movieView:(id)fp8 timeDidJump:(double)fp12;
- (void)inactivityMonitorDetectedInactivity:(id)fp8;
- (void)willStartGesture:(int)fp8 inView:(id)fp12 forEvent:(struct __GSEvent *)fp16;
- (void)gestureDidChange:(int)fp8 inView:(id)fp12 forEvent:(struct __GSEvent *)fp16;
- (void)didFinishGesture:(int)fp8 inView:(id)fp12 forEvent:(struct __GSEvent *)fp16;
- (void)didFinishGesturesInView:(id)fp8 forEvent:(struct __GSEvent *)fp12;
- (id)_createWindowForOverlayControlsWithFrame:(struct CGRect)fp8;
- (void)_flipFromView:(id)fp8 toView:(id)fp12 withType:(id)fp16 duration:(float)fp20;
- (void)_fixupAfterGuideHide;
- (void)_hideChapterGuide;
- (id)_swapInSnapshotForMovieInWindow:(id)fp8;
- (void)animationDidStop:(id)fp8 finished:(BOOL)fp12;
- (void)_chapterTimeChangeTimeout;
- (void)chapterList:(id)fp8 selectedChapter:(unsigned int)fp12;
- (void)_dismissTemporaryWindow:(id)fp8;
- (id)navigationBarForOverlayTransition:(id)fp8;
- (BOOL)restoreNavigationBarButtons:(id)fp8 forOverlayTransition:(id)fp12;
- (void)overlay:(id)fp8 willShowChapterGuide:(BOOL)fp12 animating:(BOOL)fp16;
- (void)overlayFinishedChapterGuideAnimation:(id)fp8 context:(id)fp12;
- (void)dismissAlternateTrackList:(id)fp8;
- (void)_alternateTrackAnimationDidStop:(id)fp8 finished:(BOOL)fp12 context:(id)fp16;
- (void)_setLanguageGuideVisible:(BOOL)fp8;

@end

@interface MovieBackgroundView : UIView
{
    int _orientation;
    UIImageView *_imageView;
    UIImageView *_iconView;
    UITextLabel *_infoTitle;
    UITextLabel *_infoSubTitle;
    UIView *_hackView;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setOrientation:(int)fp8;
- (void)setShowQTAudioOnlyUI:(BOOL)fp8;
- (void)_createInformationalTitleView:(id *)fp8 systemFont:(struct __GSFont *)fp12 ellipsisStyle:(int)fp16;
- (void)setInformationalTitle:(id)fp8 infoSubTitle:(id)fp12;
- (void)layoutForCurrentOrientation;
- (BOOL)shouldShowInformationalTextForOrientation:(int)fp8;
- (void)setInformationalTextShown:(BOOL)fp8;
- (void)layoutSubviews;

@end

@interface TVOutBackgroundView : UIView
{
}

- (id)initWithFrame:(struct CGRect)fp8;

@end

@interface UIApplication (iPodAppHack)
- (BOOL)isIPodApp;
@end

@interface MovieTransportHUD : UIImageView
{
    UIPushButton *_playButton;
    UIPushButton *_nextButton;
    UIPushButton *_prevButton;
    UIPushButton *_bookmarkButton;
    UIPushButton *_emailLinkButton;
    UIPushButton *_chaptersButton;
    UIPushButton *_alternateTracksButton;
    MediaVolumeSlider *_volumeSlider;
    UITextLabel *_chapterTitleLabel;
    id _target;
    unsigned int _displayableParts;
    unsigned int _validationDisabledParts;
    unsigned int _videoOutOn:1;
}

- (void)_createControlsWithTarget:(id)fp8;
- (id)_getBackgroundImage;
- (struct CGSize)_getViewSizeForBackgroundImage:(id)fp8;
- (id)initWithDefaultSizeAndTarget:(id)fp8 videoOutOn:(BOOL)fp12;
- (void)dealloc;
- (void)_layoutChapterLabel;
- (void)setChapterTitle:(id)fp8;
- (void)setPlaybackState:(int)fp8;
- (void)view:(id)fp8 handleTapWithCount:(int)fp12 event:(struct __GSEvent *)fp16;
- (void)viewHandleTouchPause:(id)fp8 isDown:(BOOL)fp12;
- (double)viewTouchPauseThreshold:(id)fp8;
- (void)moveUIElement:(id)fp8 offset:(struct CGPoint)fp12;
- (void)_configureView:(id)fp8 forValidationDisabled:(BOOL)fp12;
- (void)_updatePartsForValidation;
- (void)setValidationDisabledParts:(unsigned int)fp8;
- (void)setEnabled:(BOOL)fp8;
- (void)setDisplayableMovieParts:(unsigned int)fp8;
- (unsigned int)displayableMovieParts;

@end

@interface HUDButton : UIPushButton
{
}

- (id)initWithImage:(id)fp8;
- (BOOL)pointInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (struct CGRect)hitRect;

@end

@interface UIMovieView : UIView
{
    UIView *_movieBufferContainerView;
    MovieBufferLayerContainer *_movieBufferContainerLayer;
    MovieBufferLayer *_movieBufferLayer;
    UIMovieSubtitlesView *_subtitlesView;
    struct CGSize _subtitlesMargin;
    id _avItem;
    id _avController;
    MLTrack *_track;
    NSArray *_timeMarkers;
    NSString *_moviePath;
    NSString *_title;
    NSString *_subtitle;
    UIAlertSheet *_alertSheet;
    MovieSnapshotController *_snapshotController;
    NSDictionary *_alternateTracks;
    NSMutableDictionary *_trackChangeDictionary;
    id _delegate;
    struct {
        unsigned int movieIsValid:1;
        unsigned int releasedResources:1;
        unsigned int playbackState:3;
        unsigned int trackingMouse:1;
        unsigned int trackedMoviePreviousPlaybackState:1;
        unsigned int dying:1;
        unsigned int scrubbing:1;
        unsigned int requestedScaleMode:3;
        unsigned int activeScaleMode:3;
        unsigned int forcedScaleMode:1;
        unsigned int configuringMoviePath:1;
        unsigned int scheduledDelayedSetCurrentTime:1;
        unsigned int wasPlayingBeforeScan:1;
        unsigned int fastScanLevel:4;
        unsigned int scanIsForwards:1;
        unsigned int scanAccelerateScheduled:1;
        unsigned int scanning:1;
        unsigned int preparing:1;
        unsigned int skippedPlayWhilePreparing:1;
        unsigned int playableContentType:3;
        unsigned int fakedSuccess:1;
        unsigned int bufferingStatusMask:4;
        unsigned int hasCurrentMovieBeenRequestedToPlay:1;
        unsigned int contentIsStreamable:1;
        unsigned int wasPlayingBeforeJump:1;
        unsigned int waitingForTimeJumpedNotification:1;
        unsigned int alwaysUseCachedPlayableDurationValue:1;
        unsigned int scheduledEndOfRunLoopBasedCachingInvalidation:1;
        unsigned int displayingClosedCaptioning:1;
        unsigned int subtitlesEnabled:1;
        unsigned int scheduledTrackExpirationCallback:1;
        unsigned int unused:19;
    } _mvFlags;
    float _deferredSetCurrentTimeValue;
    float _cachedDurationValue;
    float _cachedPlayableDurationValue;
    float _lastSetCurrentTimeRequested;
}

- (void)_configureAVControllerForClosedCaptioning;
- (id)_playbackImpl;
- (id)avController;
- (void)unlockMoviePlaybackResources;
- (id)_movieAttrImpl;
- (void)_hookupPlaybackImpl;
- (void)_unregisterForPlaybackNotifications:(id)fp8;
- (void)_registerForPlaybackNotifications;
- (void)_unregisterForMovieAttrNotifications:(id)fp8;
- (void)_registerForMovieAttrNotifications;
- (id)initWithFrame:(struct CGRect)fp8;
- (id)description;
- (void)dealloc;
- (void)setDelegate:(id)fp8;
- (void)setFrame:(struct CGRect)fp8;
- (void)_setTransformForScaleMode:(struct CGAffineTransform)fp8;
- (void)_layoutSublayers;
- (BOOL)_playableContentTypeNeedsAudioOnlyUI;
- (struct CGSize)movieNaturalSize;
- (void)_fixupFIGTransform:(BOOL)fp8;
- (void)_loadFIGWithMoviePath:(id)fp8 startTime:(float)fp12;
- (BOOL)_isMovieValid:(BOOL)fp8;
- (void)setMovieWithTrack:(id)fp8 startTime:(float)fp12;
- (void)setMovieWithTrack:(id)fp8;
- (id)track;
- (void)setMovieWithPath:(id)fp8 startTime:(float)fp12;
- (void)setMovieWithPath:(id)fp8;
- (id)moviePath;
- (id)movieTitle;
- (void)setMovieTitle:(id)fp8;
- (id)movieSubtitle;
- (void)setMovieSubtitle:(id)fp8;
- (void)_setMoviePlaybackState:(int)fp8;
- (int)playbackState;
- (BOOL)hasCurrentMovieBeenRequestedToPlay;
- (double)duration;
- (void)_invalidateRunLoopBasedCaching;
- (void)_scheduleEndOfRunLoopBasedCachingInvalidation;
- (double)playableDuration;
- (int)playableContentType;
- (int)bufferingStatusMask;
- (void)_postContentTypeAvailableNotification;
- (void)_postMovieSourceDidChange;
- (void)_postPlaybackStateChanged;
- (void)_postAttributesAvailableNotification;
- (void)removeFromSuperview;
- (void)setScaleMode:(int)fp8 isHint:(BOOL)fp12 animate:(BOOL)fp16;
- (int)scaleMode;
- (void)_unscheduleDelayedSetCurrentTime;
- (BOOL)_scheduleAsDelayedSetCurrentTime:(float)fp8;
- (void)_delayedSetCurrentTimeIfNecessary;
- (void)_setCurrentTime:(float)fp8;
- (float)_currentTime;
- (void)setCurrentTime:(float)fp8;
- (float)currentTime;
- (unsigned int)countOfTimeMarkers;
- (double)timeMarkerAtIndex:(unsigned int)fp8;
- (void)jumpToTimeMarkerAtIndex:(unsigned int)fp8;
- (void)setTimeMarkers:(id)fp8;
- (id)timeMarkers;
- (id)_keyForTrackType:(int)fp8;
- (BOOL)hasAlternateTracksForType:(int)fp8;
- (id)alternateTracksForType:(int)fp8;
- (id)currentTrackForType:(int)fp8;
- (unsigned int)indexOfCurrentTrackForType:(int)fp8;
- (void)beginTrackChanges;
- (void)setTrack:(id)fp8 forType:(int)fp12;
- (void)commitTrackChanges;
- (BOOL)subtitlesEnabled;
- (void)setSubtitlesEnabled:(BOOL)fp8;
- (void)setSubtitlesMargin:(struct CGSize)fp8;
- (void)setSubtitlesPadding:(struct CGSize)fp8;
- (void)subtitlesDidClear:(id)fp8;
- (void)subtitlesDidUpdate:(id)fp8;
- (void)_stopPlayback:(BOOL)fp8;
- (void)_setPlaybackRate:(float)fp8;
- (float)_playbackRate;
- (void)play;
- (void)pause;
- (void)stop;
- (void)togglePlayback;
- (void)willSuspend;
- (void)applicationDidReceiveMemoryWarningAsUrgent:(BOOL)fp8;
- (void)applicationWillTerminate;
- (void)_postDidBeginScanning;
- (void)beginScrub;
- (void)endScrub;
- (BOOL)isScrubbing;
- (void)_scheduleFastScanAccelerate;
- (void)_setPlaybackRateForCurrentScanSetting;
- (void)fastScanAccelerate;
- (void)beginScanning:(int)fp8;
- (void)endScanning;
- (BOOL)isScanning;
- (BOOL)isScanningForwards;
- (void)setRepeatGap:(float)fp8;
- (void)setRepeatMode:(int)fp8;
- (void)setDisplayClosedCaptioning:(BOOL)fp8;
- (void)_cancelSnapshots;
- (void)_scheduleThumbnailWithSize:(struct CGSize)fp8 orientation:(int)fp16 time:(float)fp20 delegate:(id)fp24;
- (id)createFullScreenSnapshotViewWithOrientation:(int)fp8;
- (void)_mainThreadUpdatePlaybackState:(id)fp8;
- (void)_mainThreadFixupFIGTransform;
- (void)_mainThreadHandleItemReadyToPlay;
- (void)_mainThreadHandleBufferingStatusUpdate:(id)fp8;
- (void)_fakeFinishedPrepareForAudio;
- (void)_forceTrackFinished;
- (void)_mainThreadHandleTrackFinished:(id)fp8;
- (void)_mainThreadHandleTrackWillChange:(id)fp8;
- (void)_mainThreadHandleTrackDidChange:(id)fp8;
- (void)_mainThreadHandleTimeMarker:(id)fp8;
- (void)_mainThreadHandleRateDidChange:(id)fp8;
- (void)_mainThreadHandleTrackTimeDidJump:(id)fp8;
- (void)_mainThreadHandleServerDeath:(id)fp8;
- (void)_mainThreadHandleInterruptionNotification:(id)fp8;
- (void)_mainThreadHandleInterruptionEndedNotification:(id)fp8;
- (void)_mainThreadHandleAlternateTracksAvailable:(id)fp8;
- (void)_mainThreadFixupSubtitleSize:(id)fp8;
- (void)_handleBufferingStatusUpdateNotificationForMask:(int)fp8 enableMaskBits:(BOOL)fp12;
- (void)_playbackImplHandleItemReadyToPlay:(id)fp8;
- (void)_playbackImplHandleBufferingLikelyToKeepUp:(id)fp8;
- (void)_playbackImplHandleBufferingUnlikelyToKeepUp:(id)fp8;
- (void)_playbackImplHandleBufferingBufferFull:(id)fp8;
- (void)_playbackImplHandleBufferingStreamRanDry:(id)fp8;
- (void)_playbackImplRateDidChangeNotification:(id)fp8;
- (void)_playbackImplVolumeDidChangeNotification:(id)fp8;
- (void)_playbackImplTimeDidJumpNotification:(id)fp8;
- (void)_playbackImplMutedDidChangeNotification:(id)fp8;
- (void)_playbackImplNaturalSizeDidChangeNotification:(id)fp8;
- (void)_playbackImplHandleItemWillChange:(id)fp8;
- (void)_playbackImplHandleItemDidChange:(id)fp8;
- (void)controller:(id)fp8 crossedTimeMarker:(int)fp12 forItem:(id)fp16 context:(id)fp20;
- (void)_mainThreadHandleFailedToPlayNotification:(id)fp8;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (void)_playbackFailedToPlayNotification:(id)fp8;
- (void)_playbackImplAttributeAvailableNotification:(id)fp8;
- (void)_playbackImplPlaybackDidEndNotification:(id)fp8;
- (void)_playbackServerConnnectionDiedNotifiation:(id)fp8;
- (void)_playbackHandleInterruptionNotification:(id)fp8;
- (void)_playbackHandleInterruptionEndedNotification:(id)fp8;
- (void)_avitemNaturalSizeDidChangeNotification:(id)fp8;
- (void)_avitemPropertyDidChangeNotification:(id)fp8;
- (void)_avitemAttributeAvailableNotification:(id)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;
- (void)setNeedsDisplay;
- (void)setNeedsDisplayInRect:(struct CGRect)fp8;

@end

@interface MovieBufferLayerContainer : LKLayer
{
    unsigned int _animationsEnablesCount;
}

+ (id)defaultValueForKey:(id)fp8;
- (id)actionForKey:(id)fp8;
- (void)enableAnimations;
- (void)disableAnimations;
- (void)display;
- (void)setRenderTransform:(struct CGAffineTransform)fp8;

@end

@interface MovieBufferLayer : LKLayer
{
    unsigned int _animationsEnablesCount;
}

+ (id)defaultValueForKey:(id)fp8;
- (id)actionForKey:(id)fp8;
- (void)enableAnimations;
- (void)disableAnimations;
- (void)display;
- (void)setRenderTransform:(struct CGAffineTransform)fp8;

@end

@interface UIMovieView (StubsOverriddenByApp)
- (void)_app_setPreferenceForMovieScaleMode:(int)fp8;
- (int)_app_getPreferenceForMovieScaleMode;
- (void)_app_delayedUpdateCurrentQueueItemHasBeenPlayedMarker;
- (void)_app_mainThreadHandleTrackFinished:(id)fp8;
- (void)_app_mainThreadHandleTrackFailedToPlay:(id)fp8;
- (void)_app_mainThreadHandleTrackWillChange:(id)fp8;
- (void)_app_mainThreadHandleTrackDidChange:(id)fp8;
- (void)_app_mainThreadHandleTrackRateDidChange:(id)fp8;
- (void)_app_mainThreadHandleTrackTimeDidJump:(id)fp8;
- (Class)_app_avItemClass;
- (void)_app_applyMovieAttributesToMovieItem:(id)fp8 forcedStartTime:(float)fp12;
- (void)_app_configureAVControllerForMovieItem:(id)fp8;
- (void)_app_mainThreadHandleItemReadyToPlay;
@end

@interface NSString (MMPAdditions)
- (id)displayableStringByTrimmingPrefixString:(id)fp8;
- (id)displayableStringByStrippingOffCommonPrefixWithString:(id)fp8;
@end

@interface UIMoviePlayerController : NSObject
{
    VolumeController *_volumeController;
    MoviePlayerView *_moviePlayerView;
    struct CGRect _layoutRect;
    id _delegate;
    int _orientation;
    unsigned int _displayableParts;
    unsigned int _desiredParts;
    struct {
        unsigned int canShowControlsOverlay:1;
        unsigned int wantsControlsOverlayVis:1;
        unsigned int wantsControlsOverlayAnim:1;
        unsigned int wantsControlsOverlayAnimStatusBar:1;
        unsigned int wantsControlsOverlayDisableAutohide:1;
        unsigned int isFullScreen:1;
        unsigned int playerViewAllocationDisabled:1;
        unsigned int canAnimateControlsOverlay:1;
        unsigned int orientationIsForced:1;
        unsigned int autoplayWhenLikelyToKeepUp:1;
        unsigned int externalSourceManagesStatusBar:1;
        unsigned int tvOutCapableWhenMoviePlayerViewCreated:1;
        unsigned int scheduledSBMovieInfoUpdate:1;
        unsigned int unused:20;
    } _mpcBitfield;
}

+ (Class)preferredWindowClass;
+ (BOOL)videoOutCapableAndPreferred;
+ (BOOL)screenAndMovieAspectIdenticalForMovieBounds:(struct CGRect)fp8 movieNaturalSize:(struct CGSize)fp24 orientation:(int)fp32 destinationTVOut:(BOOL)fp36;
+ (struct CGSize)fillSizeForMovieBounds:(struct CGRect)fp8 movieNaturalSize:(struct CGSize)fp24 orientation:(int)fp32 destinationTVOut:(BOOL)fp36;
- (BOOL)videoOutActive;
- (BOOL)canContinuePlayingWhenLocked;
- (id)initWithPlayerSize:(struct CGSize)fp8 isFullScreen:(BOOL)fp16;
- (void)dealloc;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (void)applicationDidReceiveMemoryWarningAsUrgent:(BOOL)fp8;
- (void)applicationWillTerminate;
- (BOOL)_showFileLoadingSpinner;
- (id)_playerView;
- (void)layoutSpinnerUI;
- (void)layoutUI;
- (void)layoutUIInRect:(struct CGRect)fp8 fullScreen:(BOOL)fp24;
- (void)didReceiveLowPowerWarning;
- (void)handleTVOutCapabilityChange;
- (BOOL)_shouldDisplayClosedCaptions;
- (void)didReceiveTVOutCapabilityChangedNotification;
- (BOOL)isScaleModeButtonNecessary;
- (struct CGRect)moviePlaceholderImageRectForMovieWithAspectRatio:(float)fp8;
- (void)prepareAndSetupUI;
- (void)tearDownUI;
- (void)preheatUI;
- (void)willUnlockMoviePlaybackResources;
- (void)unlockMoviePlaybackResources;
- (id)playerView;
- (id)movieView;
- (id)volumeController;
- (void)movieImageChanged;
- (void)setDisplayableMovieParts:(unsigned int)fp8 animated:(BOOL)fp12;
- (void)setDisplayable:(BOOL)fp8 movieParts:(unsigned int)fp12 animated:(BOOL)fp16;
- (void)setDesiredMovieParts:(unsigned int)fp8 animated:(BOOL)fp12;
- (void)setManagesStatusBar:(BOOL)fp8;
- (void)setAutoPlayWhenLikelyToKeepUp:(BOOL)fp8;
- (void)setCanShowControlsOverlay:(BOOL)fp8;
- (void)setCanAnimateControlsOverlay:(BOOL)fp8;
- (BOOL)setUIOrientation:(int)fp8 animated:(BOOL)fp12 forced:(BOOL)fp16;
- (int)orientation;
- (void)setOrientationIsRotated:(BOOL)fp8;
- (void)setControlsOverlayVisible:(BOOL)fp8 disableAutohide:(BOOL)fp12 animate:(BOOL)fp16;
- (BOOL)handleNavigationBarButton:(int)fp8;
- (void)toggleMovieScaleMode;
- (void)setControlsOverlayVisible:(BOOL)fp8 disableAutohide:(BOOL)fp12 animate:(BOOL)fp16 animateStatusBar:(BOOL)fp20;
- (void)moviePlayerViewDidFinishPlayback:(id)fp8 userExited:(BOOL)fp12;
- (void)moviePlayerViewReadyToBeginPlayback:(id)fp8;
- (BOOL)moviePlayerView:(id)fp8 validateMovieUIPart:(unsigned int)fp12;
- (BOOL)moviePlayerView:(id)fp8 movieUIPartButtonPressed:(unsigned int)fp12;
- (BOOL)moviePlayerViewHideScanningControls:(id)fp8;
- (id)navigationBarForOverlayTransition:(id)fp8;
- (BOOL)restoreNavigationBarButtons:(id)fp8 forOverlayTransition:(id)fp12;
- (void)moviePlayerView:(id)fp8 willShowChapterGuide:(BOOL)fp12 animating:(BOOL)fp16;
- (void)postMovieInfoToSpringBoard;
- (void)movieViewSourceDidChangeNotification:(id)fp8;
- (void)movieViewPlaybackStateDidChangeNotification:(id)fp8;
- (void)_alternateTracksAvailable:(id)fp8;
- (void)_updateDisplayablePartsFromDesiredParts:(BOOL)fp8;

@end

@interface UIMoviePlayerController (Deprecated)
- (void)setShowsBackNavBarButton:(BOOL)fp8;
- (void)setLoadingProgressVisible:(BOOL)fp8;
- (void)setDisplayable:(BOOL)fp8 moviePart:(unsigned int)fp12 animated:(BOOL)fp16;
- (struct CGRect)movieContentRectForMovieWithAspectRatio:(float)fp8;
@end

@interface NSObject (NonRetainingDelayedPerforms)
+ (void)performSelectorWithNonRetainedTarget:(id)fp8 selector:(SEL)fp12 withObject:(id)fp16 afterDelay:(double)fp20;
+ (void)cancelPreviousPerformRequestsWithNonRetainedTarget:(id)fp8 selector:(SEL)fp12 object:(id)fp16;
+ (void)cancelPreviousPerformRequestsWithNonRetainedTarget:(id)fp8;
- (void)_nonRetainingPerformSelector:(SEL)fp8 withObject:(id)fp12 afterDelay:(double)fp16 inModes:(id)fp24;
@end

@interface NSNumber (MusicPlayerAdditions)
- (double)timeIntervalValue;
@end

@interface UIEventObservableWindow : UIWindow
{
    NSMutableArray *_eventObservers;
    int _pendingMouseUpCount;
    unsigned int _deallocating:1;
}

+ (struct CGRect)constrainFrameToScreen:(struct CGRect)fp8;
- (id)initWithContentRect:(struct CGRect)fp8;
- (void)dealloc;
- (void)addEventMonitor:(id)fp8;
- (void)removeEventActivityMonitor:(id)fp8;
- (int)pendingMouseUpCount;
- (void)_postWillSendEvent:(struct __GSEvent *)fp8;
- (void)sendEvent:(struct __GSEvent *)fp8;

@end

@interface VolumeController : NSObject
{
    AVController *_avController;
    id _delegate;
    float _volume;
    float _unmutedVolume;
    NSTimer *_fadeTimer;
    float _fadeVolume;
    NSString *_debugName;
    int _volumeBehaviorWhenEnabled;
    struct {
        unsigned int fadeIncreasesVolume:1;
        unsigned int enabled:1;
        unsigned int isSuspending:1;
        unsigned int shouldPushLocalVolumeToServer:1;
        unsigned int unused:28;
    } _vcBitfields;
}

+ (void)setCurrentVolumeController:(id)fp8;
+ (void)removeCurrentVolumeController:(id)fp8;
+ (void)forgetController:(id)fp8;
+ (id)currentVolumeController;
- (id)init;
- (id)description;
- (void)setDebugName:(id)fp8;
- (void)_postVolumeChangedNotification;
- (void)postCurrentVolumeNotification;
- (void)systemSoundControllerVolumeDidChange:(id)fp8;
- (void)avControllerVolumeDidChange:(id)fp8;
- (void)applicationWillSuspend:(id)fp8;
- (void)applicationDidSuspendOrResume:(id)fp8;
- (void)dealloc;
- (void)setDelegate:(id)fp8;
- (void)setAVController:(id)fp8;
- (void)activateAndPushLocalVolumeToServerIfNecessary;
- (void)_updateAVControllerVolumeBehavior;
- (void)_didOrderOut;
- (void)_didBecomeCurrent;
- (void)setVolumeBehaviorWhenEnabled:(int)fp8;
- (int)volumeBehaviorWhenEnabled;
- (void)setEnabled:(BOOL)fp8;
- (BOOL)isEnabled;
- (void)_setPlayerVolume:(float)fp8;
- (float)_playerVolume;
- (void)toggleMuted;
- (void)setMuted:(BOOL)fp8;
- (BOOL)muted;
- (BOOL)setVolume:(float)fp8;
- (float)volume;
- (void)_stopFade;
- (void)_delayedFadeEndedForDirection:(int)fp8;
- (void)_delayedDidFinishFadeOut;
- (void)_delayedDidFinishFadeIn;
- (void)_handleFadeEvent:(id)fp8;
- (void)_startFade;
- (void)fadeIn;
- (void)fadeOut;

@end

@interface MediaAppTestState : NSObject
{
    BOOL _gatherPerformanceData;
    id _delegate;
}

+ (id)sharedTestState;
- (void)setGatherPerformanceData:(BOOL)fp8;
- (void)setDelegate:(id)fp8;
- (BOOL)gatherPerformanceData;
- (void)clearState;
- (void)sendPlaybackDidEndMessage:(id)fp8;

@end

@interface AVItem (Additions)
- (void)addPlaybackPropertyWithValue:(id)fp8 forKey:(id)fp12;
@end

@interface MovieScrubberControl : UIScrubberControl
{
}

+ (BOOL)allowLayeredFillForKnob;
- (id)initWithFrame:(struct CGRect)fp8 preferredTrackWidth:(float)fp24;
- (void)setValueAvailable:(float)fp8;
- (void)setPlayableDuration:(double)fp8;
- (const CDAnonymousStruct1 *)metrics;

@end

@interface MovieTVHUDView : UIView
{
    int _currentState;
    MovieTVOutCounter *_counter;
    UIImageView *_playbackMode;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)_changeState;
- (void)_fadeOut;
- (void)animationDidStop:(id)fp8;
- (void)setPlaybackState:(int)fp8;

@end

@interface MovieTVOutCounter : UIView
{
}

+ (float)defaultHeight;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface SystemNowPlayingController : NSObject
{
    int _disableHUDCount;
    BOOL _notifyEnableSystemHUDLastPostedState;
    int _notifyDisableSystemHUDToken;
}

+ (id)sharedInstance;
- (id)init;
- (id)_init;
- (void)dealloc;
- (void)_setEnableSBMediaHUD:(BOOL)fp8;
- (void)disableMediaHUD;
- (void)enableMediaHUD;
- (void)_postCurrentMedia:(BOOL)fp8 path:(id)fp12 title:(id)fp16 artist:(id)fp20 album:(id)fp24 isPlaying:(BOOL)fp28 playingToTVOut:(BOOL)fp32 hasImageData:(BOOL)fp36 additionalInfoString:(id)fp40;
- (void)postNowPlayingInfoForMovieWithTitle:(id)fp8 artist:(id)fp12 album:(id)fp16 isPlaying:(BOOL)fp20 playingToTVOut:(BOOL)fp24;
- (void)postNowPlayingInfoForSongWithPath:(id)fp8 title:(id)fp12 artist:(id)fp16 album:(id)fp20 isPlaying:(BOOL)fp24 hasImageData:(BOOL)fp28 additionalInfoString:(id)fp32;

@end

@interface UIApplication (IAPAware)
- (BOOL)IAPAware;
@end

@interface UIWindow (MMPAdditions)
- (id)createCoreSurfaceSnapshotView:(int)fp8;
@end

@interface UIApplication (MMPAdditions)
- (BOOL)isReallySuspendedUnderLock;
- (BOOL)isSuspendedForAnyReason;
@end

@interface UIMovieTimeMarker : NSObject
{
    id _thumbnail;
    NSString *_title;
    unsigned int _index;
    double _time;
}

- (void)dealloc;
- (id)thumbnail;
- (void)setThumbnail:(id)fp8;
- (id)title;
- (void)setTitle:(id)fp8;
- (unsigned int)index;
- (void)setIndex:(unsigned int)fp8;
- (double)time;
- (void)setTime:(double)fp8;

@end

@interface UIMovieChapterListView : UIView
{
    float _topPadding;
    UITable *_table;
    UIImageView *_backgroundImageView;
}

- (id)init;
- (void)setTopPadding:(float)fp8;
- (id)table;
- (void)layoutSubviews;

@end

@interface UIMovieChapterListController : NSObject
{
    id _delegate;
    unsigned int _currentMarker;
    float _timeColumnWidth;
    unsigned int _haveThumbnails:1;
    unsigned int _videoOutActive:1;
    NSArray *_timeMarkers;
    UIMovieView *_movieView;
    UIMovieChapterListView *_view;
}

- (id)init;
- (void)dealloc;
- (void)cancelThumbnails;
- (void)setCurrentMarker:(unsigned int)fp8;
- (void)setDelegate:(id)fp8;
- (void)setMovieView:(id)fp8;
- (void)setTopPadding:(float)fp8;
- (void)setTimeMarkers:(id)fp8;
- (void)setVideoOutActive:(BOOL)fp8;
- (void)setup;
- (void)teardown;
- (id)view;
- (int)numberOfRowsInTable:(id)fp8;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16 reusing:(id)fp20;
- (float)table:(id)fp8 heightForRow:(int)fp12;
- (void)tableRowSelected:(id)fp8;
- (void)movieView:(id)fp8 madeThumbnail:(id)fp12 forTime:(float)fp16;
- (void)_reloadThumbnails;
- (void)_sizeColumnsToFit;

@end

@interface UIMovieChapterListCell : IndicatorTableCell
{
    UIMovieTimeMarker *_marker;
    unsigned int _index;
    float _timeColumnWidth;
    unsigned int _showThumbnailColumn:1;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)drawBackgroundInRect:(struct CGRect)fp8 withFade:(float)fp24;
- (void)drawContentInRect:(struct CGRect)fp8 selected:(BOOL)fp24;
- (void)layoutSubviews;
- (void)setIndex:(unsigned int)fp8;
- (void)setShowThumbnailColumn:(BOOL)fp8;
- (void)setTimeMarker:(id)fp8;
- (void)setTimeColumnWidth:(float)fp8;
- (struct CGPoint)indicatorPoint;
- (void)_addThumbnailIfNecessary:(id)fp8;
- (void)_removeThumbnailIfNecessary:(id)fp8;

@end

@interface MovieSnapshot : NSObject
{
    id _delegate;
    struct CGSize _size;
    int _orientation;
    float _time;
    float _originalTime;
    UIView *_snapshot;
}

+ (id)infoWithSize:(struct CGSize)fp8 orientation:(int)fp16 time:(float)fp20 delegate:(id)fp24;
- (void)dealloc;
- (id)description;
- (BOOL)prepareForSnapshotOfLayer:(id)fp8 forMovieView:(id)fp12;
- (void)snapshotLayer:(id)fp8 forMovieView:(id)fp12;
- (id)delegate;
- (id)snapshot;
- (float)time;

@end

@interface MovieSnapshotController : NSObject
{
    UIMovieView *_movieView;
    LKLayer *_layer;
    NSMutableArray *_pendingSnapshots;
    unsigned int _expectingTimeJump:1;
    unsigned int _pendingRestore:1;
    float _originalTime;
}

+ (id)createFullScreenSnapshotOfMovieView:(id)fp8 withOrientation:(int)fp12;
- (void)dealloc;
- (void)cancel;
- (void)scheduleSnapshotWithSize:(struct CGSize)fp8 orientation:(int)fp16 time:(float)fp20 delegate:(id)fp24;
- (void)setLayer:(id)fp8;
- (void)setMovieView:(id)fp8;
- (void)timeDidJump;
- (id)_currentSnapshot;
- (void)_finishSnapshot:(id)fp8;
- (void)_restoreOriginalTime;
- (void)_takeSnapshot:(id)fp8;
- (void)_startNextSnapshot;

@end

@interface IndicatorTableCell : UITableCell
{
    unsigned int _isCurrent:1;
}

- (void)drawContentInRect:(struct CGRect)fp8 selected:(BOOL)fp24;
- (void)setCurrent:(BOOL)fp8;
- (struct CGPoint)indicatorPoint;
- (struct CGColor *)indicatorColor;
- (struct CGColor *)selectedIndicatorColor;

@end

@interface UIMovieAlternateTrackListController : NSObject
{
    id _delegate;
    UIMovieView *_movieView;
    UIView *_backgroundView;
    UINavigationBar *_navigationBar;
    UIPreferencesTable *_table;
    UIProgressIndicator *_progressIndicator;
    UITextLabel *_loadingLabel;
    unsigned int _selectedTracks[2];
    unsigned int _previousTracks[2];
}

- (void)dealloc;
- (void)saveChanges;
- (void)setDelegate:(id)fp8;
- (void)setMovieView:(id)fp8;
- (void)setup;
- (void)teardown;
- (id)view;
- (void)navigationBar:(id)fp8 buttonClicked:(int)fp12;
- (void)tableRowSelected:(id)fp8;
- (int)numberOfGroupsInPreferencesTable:(id)fp8;
- (int)preferencesTable:(id)fp8 numberOfRowsInGroup:(int)fp12;
- (id)preferencesTable:(id)fp8 cellForRow:(int)fp12 inGroup:(int)fp16;
- (BOOL)preferencesTable:(id)fp8 isRadioGroup:(int)fp12;
- (id)preferencesTable:(id)fp8 titleForGroup:(int)fp12;
- (id)preferencesTable:(id)fp8 cellForGroup:(int)fp12;
- (float)preferencesTable:(id)fp8 heightForRow:(int)fp12 inGroup:(int)fp16 withProposedHeight:(float)fp20;
- (void)_alternatesAvailable:(id)fp8;
- (id)_arrayForGroup:(int)fp8;
- (int)_typeForGroup:(int)fp8;
- (id)_titleForTrack:(id)fp8;
- (void)_addLoadingUI;
- (void)_removeLoadingUI;

@end

@interface UIMovieAlternateTrackGroupCell : UIPreferencesTableCell
{
    NSString *_groupTitle;
    UITextLabel *_label;
}

+ (float)defaultHeightForGroup:(int)fp8;
- (void)dealloc;
- (void)layoutSubviews;
- (void)setTitle:(id)fp8;

@end

@interface UIMovieAlternateTrackCell : UIPreferencesTableCell
{
    UIImageView *_checkMarkView;
    unsigned int _isChecked:1;
}

+ (void)destroyCache;
- (void)dealloc;
- (id)titleTextLabel;
- (BOOL)isChecked;
- (void)setChecked:(BOOL)fp8;
- (struct CGColor *)outlineColor;
- (id)_bezierPathForCellOutline:(int)fp8;
- (id)_bezierPath;
- (void)drawBackgroundInRect:(struct CGRect)fp8 withFade:(float)fp24;
- (void)layoutSubviews;

@end

@interface UIMovieAlternateTrack : NSObject
{
    int _trackID;
    NSString *_languageCode;
    NSString *_name;
}

+ (id)createOffTrack;
+ (id)threeCharCodesForEncodedISO639_2_T:(id)fp8;
- (id)initWithDictionary:(id)fp8;
- (void)dealloc;
- (id)humanReadableLanguage;
- (id)languageCode;
- (id)name;
- (void)setName:(id)fp8;
- (int)trackID;

@end

@interface UIMovieSubtitlesView : UIView
{
    id _delegate;
    NSString *_markup;
    unsigned int _sizeIsDirty:1;
    struct CGSize _markupSize;
    struct CGSize _padding;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)drawRect:(struct CGRect)fp8;
- (void)setDelegate:(id)fp8;
- (void)setPadding:(struct CGSize)fp8;
- (void)sizeToFitWidth:(float)fp8;
- (void)setSubtitleString:(struct __CFAttributedString *)fp8 forced:(BOOL)fp12;
- (void)clearSubtitle;
- (id)_createMarkupFromAttributedString:(struct __CFAttributedString *)fp8;
- (id)_htmlColorForColor:(struct CGColor *)fp8;

@end

