sl@0: // Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0: // All rights reserved.
sl@0: // This component and the accompanying materials are made available
sl@0: // under the terms of the License "Eclipse Public License v1.0"
sl@0: // which accompanies this distribution, and is available
sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0: //
sl@0: // Initial Contributors:
sl@0: // Nokia Corporation - initial contribution.
sl@0: //
sl@0: // Contributors:
sl@0: //
sl@0: // Description:
sl@0: // e32\include\e32ldr.h
sl@0: // 
sl@0: // WARNING: This file contains some APIs which are internal and are subject
sl@0: //          to change without notice. Such APIs should therefore not be used
sl@0: //          outside the Kernel and Hardware Services package.
sl@0: //
sl@0: 
sl@0: /**
sl@0:  @file
sl@0:  @internalTechnology
sl@0: */
sl@0: 
sl@0: #ifndef __E32LDR_H__
sl@0: #define __E32LDR_H__
sl@0: #include <e32cmn.h>
sl@0: 
sl@0: 
sl@0: /**
sl@0: 	@internalTechnology
sl@0: 
sl@0: 	Where sections of a file are located on the media.
sl@0: 	The kernel uses this to load in parts of a demand paged file.
sl@0:  */
sl@0: class TBlockMapEntryBase
sl@0: 	{
sl@0: public:
sl@0: 	TUint iNumberOfBlocks;  // Number of contiguous blocks in map.
sl@0: 	TUint iStartBlock;		// Number for first block in the map.
sl@0: 	};
sl@0: 
sl@0: 
sl@0: /**
sl@0: 	@internalTechnology
sl@0: 
sl@0: 	Describes context for TBlockMapEntryBase objects.
sl@0:  */
sl@0: struct SBlockMapInfoBase
sl@0: 	{
sl@0: 	TUint iBlockGranularity;	// Size of a block in bytes.
sl@0: 	TUint iBlockStartOffset;	// Offset to start of the file or requested file position within a block.
sl@0: 	TInt64 iStartBlockAddress;	// Address of the first block of the partition.
sl@0: 	TInt iLocalDriveNumber;		// Local drive number of where the file lies on.
sl@0: 	};
sl@0: 
sl@0: 
sl@0: #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
sl@0: #include <e32ldr_private.h>
sl@0: #endif
sl@0: 
sl@0: #endif // __E32LDR_H__
sl@0: