diff -r 55fa1ec415c6 -r 8f0df5c82986 videoplayback/videohelix/inc/mpxvideoplayerutility.h --- a/videoplayback/videohelix/inc/mpxvideoplayerutility.h Tue May 11 16:15:40 2010 +0300 +++ b/videoplayback/videohelix/inc/mpxvideoplayerutility.h Tue May 25 12:44:54 2010 +0300 @@ -15,7 +15,7 @@ * */ -// Version : %version: 11 % +// Version : %version: 13 % #ifndef __MPXVIDEOPLAYERUTILITY__ @@ -25,6 +25,7 @@ // INCLUDES // #include +#include #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS #include @@ -42,12 +43,13 @@ // FORWARD DECLARATIONS // class CMPXVideoPlaybackController; +class CFbsBitmap; // // CLASS DECLARATION // -NONSHARABLE_CLASS( CMpxVideoPlayerUtility ) : public CBase, +NONSHARABLE_CLASS( CMpxVideoPlayerUtility ) : public CActive, public MMMFControllerEventMonitorObserver { public: @@ -101,11 +103,18 @@ void SetPlayVelocityL( TInt aVelocity ); void GetVideoLoadingProgressL( TInt& aPercentageProgress ); + + void GetFrameL(); // // MMMFControllerEventMonitorObserver Implementation // void HandleEvent( const TMMFEvent& aEvent ); + + CFbsBitmap& GetBitmap(); + + void RunL(); + void DoCancel(); #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API void OpenFile64L( const RFile64& aFile ); @@ -124,6 +133,8 @@ const TRect& aCropRect, TVideoAspectRatio aAspectRatio ); + void SendSurfaceCreatedCommand(); + #endif private: @@ -150,11 +161,15 @@ RMMFVideoPlaySurfaceSupportCustomCommands iVideoPlaySurfaceSupportCustomCommands; TSurfaceId iSurfaceId; + TRect iCropRect; + TVideoAspectRatio iAspectRatio; #endif CMMFControllerEventMonitor* iControllerEventMonitor; TBool iDirectScreenAccessAbort; + + CFbsBitmap* iPosterFrameBitmap; }; #endif /* __MPXVIDEOPLAYERUTILITY__ */