equal
deleted
inserted
replaced
|
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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // e32test\misc\flash.h |
|
15 // |
|
16 // |
|
17 |
|
18 #include <e32base.h> |
|
19 |
|
20 typedef CBase Base; |
|
21 class Flash : public Base |
|
22 { |
|
23 public: |
|
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; |
|
29 }; |
|
30 |