videoplayback/hbvideoplaybackview/tsrc/testmpxvideoplaybacktoolbar/stub/src/hbvideobaseplaybackview.cpp
changeset 44 518105d52e45
parent 42 17f382c040b1
child 49 824471cb468a
--- a/videoplayback/hbvideoplaybackview/tsrc/testmpxvideoplaybacktoolbar/stub/src/hbvideobaseplaybackview.cpp	Fri Jul 02 17:14:33 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,92 +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 Video playback view
-*
-*/
-
-// Version : %version:   2 %
-
-
-
-//  Include Files
-
-#include <hbinstance.h>
-#include <coecntrl.h>
-
-#include "hbtoolbar.h"
-#include "hbvideobaseplaybackview.h"
-
-//  Member Functions
-
-// -------------------------------------------------------------------------------------------------
-// HbVideoPlaybackView::HbVideoPlaybackView()
-// -------------------------------------------------------------------------------------------------
-//
-HbVideoBasePlaybackView::HbVideoBasePlaybackView()
-{
-     mToolBar = new HbToolBar();
-}
-
-// -------------------------------------------------------------------------------------------------
-//   HbVideoPlaybackView::~HbVideoPlaybackView()
-// -------------------------------------------------------------------------------------------------
-//
-HbVideoBasePlaybackView::~HbVideoBasePlaybackView()
-{
-    if ( mToolBar )
-    {
-         delete mToolBar;
-         mToolBar = NULL;
-    }
-}
-
-// -------------------------------------------------------------------------------------------------
-//   HbVideoBasePlaybackView::toolBar()
-// -------------------------------------------------------------------------------------------------
-//
-HbToolBar* HbVideoBasePlaybackView::toolBar()
-{
-    return mToolBar;
-}
-
-// -------------------------------------------------------------------------------------------------
-//   HbVideoBasePlaybackView::hideItems()
-// -------------------------------------------------------------------------------------------------
-//
-void HbVideoBasePlaybackView::hideItems( int item )
-{
-    Q_UNUSED( item );
-    mToolBar->setVisible( false );
-}
-
-// -------------------------------------------------------------------------------------------------
-//   HbVideoBasePlaybackView::hideItems()
-// -------------------------------------------------------------------------------------------------
-//
-void HbVideoBasePlaybackView::showItems( int item )
-{
-    Q_UNUSED( item );
-    mToolBar->setVisible( true );
-}
-
-// -------------------------------------------------------------------------------------------------
-//   HbVideoBasePlaybackView::getWindow()
-// -------------------------------------------------------------------------------------------------
-//
-RWindow *HbVideoBasePlaybackView::getWindow()
-{
-    return static_cast<RWindow*>( hbInstance->allMainWindows()[0]->effectiveWinId()->DrawableWindow() );
-}
-
-// EOF