fbs/fontandbitmapserver/sfbs/ShiftedFileStore.h
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __SHIFTEDFILESTORE_H__
       
    17 #define __SHIFTEDFILESTORE_H__
       
    18 
       
    19 #include <s32file.h>
       
    20 
       
    21 /**
       
    22 @internalComponent
       
    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.
       
    27 */
       
    28 class CShiftedFileStore: public CDirectFileStore
       
    29 	{
       
    30 public:
       
    31 	static CShiftedFileStore* OpenLC(RFs& aFs, const TDesC& aName, TUint aFileMode, TUint aFileOffset);
       
    32 	static CShiftedFileStore* FromL(RFile& aFile, TUint aFileOffset);
       
    33 private:
       
    34 	CShiftedFileStore(RFile& aFile);
       
    35 
       
    36 	};
       
    37 
       
    38 #endif //__SHIFTEDFILESTORE_H__
       
    39