diff -r 95243422089a -r 491b3ed49290 filemanager/src/fmbkupengine/inc/CMMCScBkupIndexBase.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/filemanager/src/fmbkupengine/inc/CMMCScBkupIndexBase.h Tue Aug 31 15:06:05 2010 +0300 @@ -0,0 +1,100 @@ +/* +* Copyright (c) 2005 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 CMMCScBkupIndexBase +* +* +*/ + +#ifndef __CMMCSCBKUPINDEXBASE_H__ +#define __CMMCSCBKUPINDEXBASE_H__ + +// System includes +#include + +// User includes +#include "MMMCScBkupDriver.h" +#include "TMMCScBkupOwnerDataType.h" +#include "RMMCScBkupPointerArray.h" +#include "TMMCScBkupArchiveVector.h" + + +/** +* +* +* @since 3.0 +*/ +NONSHARABLE_CLASS(CMMCScBkupIndexBase) : public CBase + { + public: + + /** + * C++ destructor + */ + ~CMMCScBkupIndexBase(); + + protected: + + /** + * C++ default constructor + */ + CMMCScBkupIndexBase(TMMCScBkupOwnerDataType aType); + + /** + * + */ + virtual void ConstructL(); + + public: // API + + /** + * + */ + inline TMMCScBkupOwnerDataType Type() const { return iType; } + + /** + * + */ + inline const TMMCScBkupArchiveVector& Vector() const { return iVector; } + + /** + * + */ + inline void SetVector( const TMMCScBkupArchiveVector& aVector ) { iVector = aVector; } + + public: // Store/Restore + + /** + * + */ + virtual void StoreL(MMMCScBkupDriver& aDriver) = 0; + + /** + * + */ + virtual void RestoreL(MMMCScBkupDriver& aDriver) = 0; + + private: // Member data + + // + TMMCScBkupOwnerDataType iType; + // + TMMCScBkupArchiveVector iVector; + }; + + + + +#endif // __CMMCSCBKUPINDEXBASE_H__ + +//End of File