First public contribution.
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __SHIFTEDFILESTORE_H__
17 #define __SHIFTEDFILESTORE_H__
23 class CShiftedFileStore - this is highly specialized class, derived from
24 CDirectFileStore. It has only one purpose - to make possible creating
25 direct file store instance beginning at the middle of some physical file. It is expected
26 to be used with the new RSC files format: Header + RSC file section + MBM file section.
28 class CShiftedFileStore: public CDirectFileStore
31 static CShiftedFileStore* OpenLC(RFs& aFs, const TDesC& aName, TUint aFileMode, TUint aFileOffset);
32 static CShiftedFileStore* FromL(RFile& aFile, TUint aFileOffset);
34 CShiftedFileStore(RFile& aFile);
38 #endif //__SHIFTEDFILESTORE_H__