videoplayback/videoplaybackview/controlsrc/videoplaybackfullscreencontrol.cpp
changeset 58 d2b028fd1f7d
parent 44 518105d52e45
child 63 4707a0db12f6
--- a/videoplayback/videoplaybackview/controlsrc/videoplaybackfullscreencontrol.cpp	Mon Aug 23 14:27:29 2010 +0300
+++ b/videoplayback/videoplaybackview/controlsrc/videoplaybackfullscreencontrol.cpp	Fri Sep 03 12:37:43 2010 +0300
@@ -15,7 +15,7 @@
 *
 */
 
-// Version : %version: da1mmcf#10 %
+// Version : %version: da1mmcf#11 %
 
 
 
@@ -33,10 +33,10 @@
 // VideoPlaybackFullScreenControl::VideoPlaybackFullScreenControl()
 // -------------------------------------------------------------------------------------------------
 //
-VideoPlaybackFullScreenControl::VideoPlaybackFullScreenControl( 
-        VideoPlaybackControlsController* controller, 
-        TVideoPlaybackControls index, 
-        HbWidget* widget, 
+VideoPlaybackFullScreenControl::VideoPlaybackFullScreenControl(
+        VideoPlaybackControlsController* controller,
+        TVideoPlaybackControls index,
+        HbWidget* widget,
         TUint controlproperties )
     : mController( controller )
     , mControl( widget )
@@ -309,4 +309,16 @@
     mProperties = properties;
 }
 
+// -------------------------------------------------------------------------------------------------
+// VideoPlaybackFullScreenControl::resetControl()
+// -------------------------------------------------------------------------------------------------
+//
+void VideoPlaybackFullScreenControl::resetControl()
+{
+    if ( mControlIndex == EControlBar )
+    {
+        static_cast<VideoPlaybackControlBar*>(mControl)->resetControl();
+    }
+}
+
 // End of file