Fix for bug 2283 (RVCT 4.0 support is missing from PDK 3.0.h)
Have multiple extension sections in the bld.inf, one for each version
of the compiler. The RVCT version building the tools will build the
runtime libraries for its version, but make sure we extract all the other
versions from zip archives. Also add the archive for RVCT4.
// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "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:
// f32\sfat\inc\sl_disk.h
//
//
/**
@file
@internalTechnology
*/
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//!!
//!! WARNING!! DO NOT edit this file !! '\sfat' component is obsolete and is not being used. '\sfat32'replaces it
//!!
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#if !defined(__SL_DISK_H__)
#define __SL_DISK_H__
#include "sl_std.h"
//---------------------------------------------------------------------------------------------------------------------------------
class MWTCacheInterface;
class CAtaDisk : public CRawDisk
{
public:
static CAtaDisk* NewL(CFatMountCB& aFatMount);
CAtaDisk(CFatMountCB& aFatMount);
~CAtaDisk();
void ConstructL();
void InitializeL();
public:
void ReadCachedL(TInt64 aPos,TInt aLength,TDes8& aDes) const;
void WriteCachedL(TInt64 aPos,const TDesC8& aDes);
void InvalidateUidCache();
virtual void InvalidateUidCachePage(TUint64 aPos);
void ReadL(TInt64 aPos,TInt aLength,const TAny* aTrg,const RMessagePtr2 &aMessage,TInt anOffset) const;
void WriteL(TInt64 aPos,TInt aLength,const TAny* aSrc,const RMessagePtr2 &aMessage,TInt anOffset);
virtual TInt GetLastErrorInfo(TDes8& aErrorInfo) const;
MWTCacheInterface* DirCacheInterface();
private:
TFatDriveInterface& iDrive; ///< Driver's interface to access the media
MWTCacheInterface* ipDirCache; ///< pointer to the FAT Directory cache object
MWTCacheInterface* iUidCache; ///< pointer to the UID cache object
};
//---------------------------------------------------------------------------------------------------------------------------------
class CRamDisk : public CRawDisk
{
public:
static CRamDisk* NewL(CFatMountCB& aFatMount);
CRamDisk(CFatMountCB& aFatMount);
void InitializeL();
public:
void ReadCachedL(TInt64 aPos,TInt aLength,TDes8& aDes) const;
void WriteCachedL(TInt64 aPos,const TDesC8& aDes);
void ReadL(TInt64 aPos,TInt aLength,const TAny* aTrg,const RMessagePtr2 &aMessage,TInt anOffset) const;
void WriteL(TInt64 aPos,TInt aLength,const TAny* aSrc,const RMessagePtr2 &aMessage,TInt anOffset);
private:
inline TUint8 *RamDiskBase() const;
private:
TUint8* iRamDiskBase; ///< pointer to the beginning of the RAM disk memory area
};
//---------------------------------------------------------------------------------------------------------------------------------
#include "sl_disk.inl"
#endif //__SL_DISK_H__