|
1 // Copyright (c) 2007-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 __MISCADAPTATION_H__ |
|
17 #define __MISCADAPTATION_H__ |
|
18 |
|
19 #include <ssm/ssmadaptation.h> |
|
20 #include "f32file.h" |
|
21 #include "s32file.h" |
|
22 /* |
|
23 SecurityCustomCommand Test Case ID |
|
24 |
|
25 @internalComponent |
|
26 @released |
|
27 */ |
|
28 enum TTestSecurityCustomCommandTestCaseID |
|
29 { |
|
30 EPINCHECK01 = 1, |
|
31 EPINCHECK02, |
|
32 EPINCHECK03, |
|
33 EPINCHECK04, |
|
34 EPINCHECK05, |
|
35 EPINCHECK06, |
|
36 EPINCHECK07, |
|
37 EPINCHECK08 |
|
38 }; |
|
39 |
|
40 /** |
|
41 Collection of different adaptations. |
|
42 Implements MMiscAdaptation for different adaptations. |
|
43 |
|
44 @internalComponent |
|
45 @released |
|
46 |
|
47 @see MMiscAdaptation |
|
48 */ |
|
49 class CMiscAdaptationRef : public CBase, public MMiscAdaptation |
|
50 { |
|
51 public: |
|
52 static CMiscAdaptationRef* NewL(); |
|
53 |
|
54 //from MMiscAdaptation |
|
55 void Release(); |
|
56 void SecurityStateChange(TInt aState, TDes8& aResponsePckg, TRequestStatus& aStatus); |
|
57 void GetGlobalStartupMode(TDes8& aModePckg, TRequestStatus& aRequest); |
|
58 void PrepareSimLanguages(TSsmLanguageListPriority aPriority, TDes8& aSizePckg, TRequestStatus& aStatus); |
|
59 void GetSimLanguagesL(CBufBase* aBuf, TInt aCount); |
|
60 void GetHiddenReset(TDes8& aHiddenResetPckg, TRequestStatus& aStatus); |
|
61 void Cancel(); |
|
62 |
|
63 private: |
|
64 CMiscAdaptationRef(); |
|
65 void ConstructL(); |
|
66 ~CMiscAdaptationRef(); |
|
67 |
|
68 private: |
|
69 TInt iTestCaseNum; |
|
70 RFs iFs; |
|
71 RFileReadStream iFile; |
|
72 }; |
|
73 |
|
74 #endif // __MISCADAPTATION_H__ |
|
75 |