Update contrib.
1 // Copyright (c) 1998-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 the License "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.
14 // e32test\misc\flash.h
21 class Flash : public Base
24 static Flash* New(TUint32 anAddr);
25 virtual TInt Read(TUint32 anAddr, TUint32 aSize, TUint8* aDest)=0;
26 virtual TInt BlankCheck(TUint32 anAddr, TUint32 aSize)=0;
27 virtual TInt Erase(TUint32 anAddr, TUint32 aSize)=0;
28 virtual TInt Write(TUint32 anAddr, TUint32 aSize, const TUint8* aSrc)=0;