diff -r 491b3ed49290 -r 65326cf895ed filemanager/src/fmbkupengine/inc/CMMCScBkupFileListCollection.h --- a/filemanager/src/fmbkupengine/inc/CMMCScBkupFileListCollection.h Tue Aug 31 15:06:05 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,114 +0,0 @@ -/* -* Copyright (c) 2005-2008 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: Declaration for CMMCScBkupFileListCollection -* -* -*/ - -#ifndef __CMMCSCBKUPFILELISTCOLLECTION_H__ -#define __CMMCSCBKUPFILELISTCOLLECTION_H__ - -// System includes -#include - -// User includes -#include "RMMCScBkupPointerArray.h" -#include "CMMCScBkupFileInfo.h" -#include - - -/** -* -* -* @since 3.0 -*/ -NONSHARABLE_CLASS(CMMCScBkupFileListCollection) : public CBase - { - public: - - /** - * Static constructor - */ - static CMMCScBkupFileListCollection* NewL( TBitFlags aCategory, RFs& aFsSession ); - - /** - * C++ destructor - */ - ~CMMCScBkupFileListCollection(); - - private: - - /** - * C++ default constructor - */ - CMMCScBkupFileListCollection( TBitFlags aCategory, RFs& aFsSession ); - - /** - * - */ - void ConstructL(); - - public: // API - - /** - * - */ - void AppendL( const RArray& aArray, RArray< const CMMCScBkupFileInfo* >& aAddedItems, TSecureId aAssociatedSID ); - - /** - * - */ - void AppendL( CMMCScBkupFileInfo* aFileInfo ); - - /** - * - */ - TInt Count() const; - - /** - * - */ - const CMMCScBkupFileInfo& Entry(TInt aIndex) const; - - /** - * - */ - void Remove( TInt aIndex ); - - /** - * - */ - void Reset(); - - /** - * - */ - TBitFlags Category() const { return iCategory; } - - private: // Member data - - // Array of data owners - RMMCScBkupPointerArray iEntries; - // - TBitFlags iCategory; - // - RFs& iFsSession; - }; - - - - -#endif // __CMMCSCBKUPFILELISTCOLLECTION_H__ - -//End of File