equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __TESTAGENTFILEINTERFACE_H__ |
|
20 #define __TESTAGENTFILEINTERFACE_H__ |
|
21 |
|
22 #include <e32base.h> |
|
23 #include <f32file.h> |
|
24 |
|
25 class CTestAgentFileInterface: public CBase |
|
26 { |
|
27 public: |
|
28 virtual TInt Read(TDes8& aDes,TInt aLength) = 0; |
|
29 virtual void Read(TDes8& aDes, TInt aLength, TRequestStatus& aStatus) = 0; |
|
30 virtual void ReadCancel(TRequestStatus& aStatus) = 0; |
|
31 virtual TInt Seek(TSeek aMode,TInt& aPos) = 0; |
|
32 virtual TPtrC8 ContentMimeType() = 0; |
|
33 virtual TInt GetAttribute(TInt aAttribute, TInt& aValue) = 0; |
|
34 virtual TInt GetStringAttribute(TInt aAttribute, TDes& aValue) = 0; |
|
35 virtual void DataSizeL(TInt &aSize) = 0; |
|
36 virtual void Read(TInt aPos, TDes8& aDes, TInt aLength, TRequestStatus& aStatus)=0; |
|
37 }; |
|
38 |
|
39 #endif |