diff -r 45459746d5e8 -r 27f2d7aec52a engine/collectionframework/thumbnailcreator/inc/glxtnfileinfo.inl --- a/engine/collectionframework/thumbnailcreator/inc/glxtnfileinfo.inl Mon Sep 27 15:13:20 2010 +0530 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,86 +0,0 @@ -/* -* Copyright (c) 2008-2009 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: Definition of CGlxtnFileInfo -* -*/ - - - -/** - * @internal reviewed 30/07/2007 by Simon Brooks - */ - -// ----------------------------------------------------------------------------- -// Constructor -// ----------------------------------------------------------------------------- -// -inline CGlxtnFileInfo::CGlxtnFileInfo() - { - } - -// ----------------------------------------------------------------------------- -// Destructor -// ----------------------------------------------------------------------------- -// -inline CGlxtnFileInfo::~CGlxtnFileInfo() - { - delete iFilePath; - } - -// ----------------------------------------------------------------------------- -// CopyInfoL -// ----------------------------------------------------------------------------- -// -inline void CGlxtnFileInfo::CopyInfoL(CGlxtnFileInfo& aInfo) - { - SetFilePathL(aInfo.FilePath()); - iFileSize = aInfo.iFileSize; - iFileTime = aInfo.iFileTime; - iTemporary = aInfo.iTemporary; - iIsVideo = aInfo.iIsVideo; - iIsProtected = aInfo.iIsProtected; - } - -// ----------------------------------------------------------------------------- -// FilePath -// Get the full path to the media file. -// ----------------------------------------------------------------------------- -// -inline const TDesC& CGlxtnFileInfo::FilePath() const - { - return *iFilePath; - } - -// ----------------------------------------------------------------------------- -// SetFilePathL -// Set the full path to the media file. -// ----------------------------------------------------------------------------- -// -inline void CGlxtnFileInfo::SetFilePath(HBufC* aPath) - { - delete iFilePath; - iFilePath = aPath; - } - -// ----------------------------------------------------------------------------- -// SetFilePathL -// Set the full path to the media file. -// ----------------------------------------------------------------------------- -// -inline void CGlxtnFileInfo::SetFilePathL(const TDesC& aPath) - { - delete iFilePath; - iFilePath = NULL; - iFilePath = aPath.AllocL(); - }