diff -r 4baee4f15982 -r 6385c4c93049 browserplugins/browseraudiovideoplugin/src/BavpClipInfo.cpp --- a/browserplugins/browseraudiovideoplugin/src/BavpClipInfo.cpp Thu Aug 19 09:57:56 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,70 +0,0 @@ -/* -* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of the License "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: Store the meta information and the state of the clip played -* -*/ - - -// INCLUDE FILES -#include "BavpClipInfo.h" - -// ============================ MEMBER FUNCTIONS =============================== - -// ----------------------------------------------------------------------------- -// CBavpClipInfo::CBavpClipInfo -// C++ default constructor can NOT contain any code, that -// might leave. -// ----------------------------------------------------------------------------- - CBavpClipInfo::CBavpClipInfo() - : iMediaType( EUnidentified ), - iSeekable( ETrue ), - iLiveStream( EFalse ), - iVideoTrack( EFalse ), - iInFullScreenMode( EFalse ) - { - } - -// ----------------------------------------------------------------------------- -// CBavpClipInfo::~CBavpClipInfo -// Destructor -// ----------------------------------------------------------------------------- -CBavpClipInfo::~CBavpClipInfo() - { - // iFileName is created by controller, but we have ownership - delete iFileName; - - // iUrl is created by controller, but we have ownership - delete iUrl; - } - -// ----------------------------------------------------------------------------- -// CBavpClipInfo::Reinit -// Reinitialize all the values -// ----------------------------------------------------------------------------- -void CBavpClipInfo::ReInit() - { - iSeekable = ETrue; - iLiveStream = EFalse; - iResolutionHeight = 0; - iResolutionWidth = 0; - iBitrate = 0; - iMaxVolume = 0; - iDurationInSeconds = 0; - iAudioTrack = EFalse; - iVideoTrack = EFalse; - iPosition = 0; - // Don't modify iMediaType, iFilename, and iUrl - } - -// End of File