diff -r bbb98528c666 -r 3738fe97f027 videoplayback/hbvideoplaybackview/tsrc/testfullscreencontrol/stub/src/mpxvideoplaybackbuttonbar.cpp --- a/videoplayback/hbvideoplaybackview/tsrc/testfullscreencontrol/stub/src/mpxvideoplaybackbuttonbar.cpp Thu Apr 01 23:22:15 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,88 +0,0 @@ -/* -* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Implementation of QMPXVideoPlaybackButtonBar -* -*/ - -// Version : %version: 1 % - - - -#include -#include -#include -#include - -#include "mpxvideo_debug.h" -#include "mpxvideoplaybackbuttonbar.h" -#include "mpxcommonvideoplaybackview.hrh" -#include "mpxvideoplaybackcontrolscontroller.h" - - -// ------------------------------------------------------------------------------------------------- -// QMPXVideoPlaybackButtonBar::QMPXVideoPlaybackButtonBar() -// ------------------------------------------------------------------------------------------------- -// -QMPXVideoPlaybackButtonBar::QMPXVideoPlaybackButtonBar( - QMPXVideoPlaybackControlsController* controller ) - : mController( controller ) - , mInitialized( false ) -{ - MPX_ENTER_EXIT(_L("QMPXVideoPlaybackButtonBar::QMPXVideoPlaybackButtonBar")); -} - -// ------------------------------------------------------------------------------------------------- -// QMPXVideoPlaybackButtonBar::~QMPXVideoPlaybackButtonBar() -// ------------------------------------------------------------------------------------------------- -// -QMPXVideoPlaybackButtonBar::~QMPXVideoPlaybackButtonBar() -{ - MPX_DEBUG(_L("QMPXVideoPlaybackButtonBar::~QMPXVideoPlaybackButtonBar()")); -} - - -// ------------------------------------------------------------------------------------------------- -// QMPXVideoPlaybackButtonBar::updateState() -// ------------------------------------------------------------------------------------------------- -// -void QMPXVideoPlaybackButtonBar::updateState( TMPXPlaybackState state ) -{ - MPX_DEBUG(_L("QMPXVideoPlaybackButtonBar::updateState() state = %d"), state ); - mState = state; -} - -// ------------------------------------------------------------------------------------------------- -// QMPXVideoPlaybackButtonBar::aspectRatioChanged() -// ------------------------------------------------------------------------------------------------- -// -void QMPXVideoPlaybackButtonBar::aspectRatioChanged( int aspectRatio ) -{ - MPX_DEBUG(_L("QMPXVideoPlaybackButtonBar::aspectRatioChanged() aspectRatio = %d"), aspectRatio ); - - mAspectRatio = aspectRatio; -} - -// ------------------------------------------------------------------------------------------------- -// QMPXVideoPlaybackButtonBar::updateWithFileDetails() -// ------------------------------------------------------------------------------------------------- -// -void QMPXVideoPlaybackButtonBar::updateWithFileDetails( - QMPXVideoPlaybackViewFileDetails* details ) -{ - MPX_DEBUG(_L("QMPXVideoPlaybackButtonBar::updateWithFileDetails()")); - - mShowPauseButton = details->mPausableStream; -} - -//End of file