videoplayback/inc/mpxvideoplaybackcontrolscontroller.h
branchRCL_3
changeset 15 8f0df5c82986
parent 14 55fa1ec415c6
child 16 67eb01668b0e
--- a/videoplayback/inc/mpxvideoplaybackcontrolscontroller.h	Tue May 11 16:15:40 2010 +0300
+++ b/videoplayback/inc/mpxvideoplaybackcontrolscontroller.h	Tue May 25 12:44:54 2010 +0300
@@ -16,7 +16,7 @@
 */
 
 
-// Version : %version: 15 %
+// Version : %version: 17 %
 
 
 #ifndef MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_
@@ -26,6 +26,7 @@
 #include <mpxplaybackframeworkdefs.h>
 #include <aknlayoutscalable_avkon.cdl.h>
 #include <f32file.h>
+#include <MMFScalingCustomCommandConstants.h>
 
 #include "mpxvideo_debug.h"
 #include "mpxvideoplaybackviewfiledetails.h"
@@ -117,6 +118,11 @@
         */
         inline TMPXPlaybackState State();
 
+        /*
+         *   Return the Aspect Ratio for the clip
+         */
+        inline TMMFScalingType AspectRatio();
+
         /**
         * Return file details
         */
@@ -129,14 +135,12 @@
 
         void SetRealOneBitmapVisibility( TBool aVisible );
 
-        TBool SetBackgroundBlack();
-
         inline TBool IsRealMediaFormat();
 
         /**
          *  Check aspect ratio icon
-         *  In case that Clip's AR is equals to Screen Display AR, also hide AR icon.  
-         *  
+         *  In case that Clip's AR is equals to Screen Display AR, also hide AR icon.
+         *
          *  @return ETrue in case that clip's AspectRatioIcon can be shown
          */
         TBool ShowAspectRatioIcon();
@@ -362,13 +366,13 @@
         TInt                                    iVideoResourceOffset;
 
         TMPXPlaybackState                       iState;
+        TMMFScalingType                         iAspectRatio;
 
         CMPXVideoPlaybackViewFileDetails*       iFileDetails;     //  not owned
 
         RFs                                     iFs;
         TFileName                               iBitmapFileName;
 
-        TBool                                   iSurfaceCreated;
         TBool                                   iTvOutConnected;
         TBool                                   iRNFormat;
 
@@ -410,6 +414,13 @@
     return iRNFormat;
 }
 
+inline
+TMMFScalingType CMPXVideoPlaybackControlsController::AspectRatio()
+{
+    MPX_DEBUG(_L("CMPXVideoPlaybackControlsController::AspectRatio(%d)"), iAspectRatio);
+    return iAspectRatio;
+}
+
 #endif /*MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_*/
 
 // End of File