diff -r 951a5db380a0 -r d87d32eab1a9 videditor/VideoEditorCommon/inc/VeiTempMaker.h --- a/videditor/VideoEditorCommon/inc/VeiTempMaker.h Fri Jan 29 14:08:33 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,79 +0,0 @@ -/* -* Copyright (c) 2010 Ixonos Plc. -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of the "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: -* Ixonos Plc -* -* Description: -* -*/ - - -#ifndef __VEITEMPMAKER_H -#define __VEITEMPMAKER_H - -#include -#include -#include -#include -/** -* CVeiTempMaker. Class for temporary file actions(filename, clean up). -* -*/ -NONSHARABLE_CLASS( CVeiTempMaker ) : public CBase - { - public: - /** - * Static factory constructor. - * - * @return created instance - */ - IMPORT_C static CVeiTempMaker* NewL(); - - /** - * Static factory constructor. Leaves the created instance in the - * cleanup stack. - * - * @return created instance - */ - IMPORT_C static CVeiTempMaker* NewLC(); - - /** - * Destructor. - */ - IMPORT_C ~CVeiTempMaker(); - - IMPORT_C void EmptyTempFolder() const; - - IMPORT_C void GenerateTempFileName( - HBufC& aTempPathAndName, - CAknMemorySelectionDialog::TMemory aMemory, - TVedVideoFormat aVideoFormat, - TBool aExtAMR = EFalse ) const; - - private: - /** - * Default constructor. - */ - void ConstructL(); - - /** - * Default constructor. - */ - CVeiTempMaker(); - - TBool GetTempPath( const CAknMemorySelectionDialog::TMemory& aMemory, TDes& aTempPath ) const; - -// void ListFilesL(const TDesC& aFindFromDir, const TDesC& aWriteResultTo) const; - - void DoEmptyTempFolderL() const; - }; -#endif