equal
deleted
inserted
replaced
|
1 // Copyright (c) 2002-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 "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 // |
|
15 |
|
16 #ifndef __TESTCPIMANAGER_H__ |
|
17 #define __TESTCCPIMANAGER_H__ |
|
18 |
|
19 // System Includes |
|
20 #include <http/mhttpcpimanager.h> |
|
21 |
|
22 |
|
23 /** Test CPI Manager to be used to unit test the UAProf Filter |
|
24 */ |
|
25 class CTestCpiManager : public CBase, public MHTTPCpiManager |
|
26 { |
|
27 public: |
|
28 |
|
29 IMPORT_C static CTestCpiManager* NewL(RStringPool aStringPool); |
|
30 |
|
31 IMPORT_C ~CTestCpiManager(); |
|
32 |
|
33 IMPORT_C virtual RPointerArray<HBufC8>& GetProfiles(); |
|
34 |
|
35 IMPORT_C virtual RPointerArray<HBufC8>& GetProfileDiffs(); |
|
36 |
|
37 IMPORT_C void SetProfileDataL(HBufC8* aCpiData); |
|
38 |
|
39 IMPORT_C void SetProfileDiffDataL(HBufC8* aCpiData); |
|
40 |
|
41 private: |
|
42 |
|
43 CTestCpiManager(RStringPool aStringPool); |
|
44 |
|
45 void ConstructL(); |
|
46 |
|
47 |
|
48 private: |
|
49 |
|
50 RStringPool iStringPool; |
|
51 |
|
52 RPointerArray<HBufC8> iProfileData; |
|
53 |
|
54 RPointerArray<HBufC8> iProfileDiffData; |
|
55 }; |
|
56 |
|
57 |
|
58 #endif //__TESTCPIMANAGER_H__ |