|
1 // Copyright (c) 2008-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 __SUSADAPTIONCLISRV_H__ |
|
17 #define __SUSADAPTIONCLISRV_H__ |
|
18 |
|
19 /** |
|
20 @internalComponent |
|
21 @released |
|
22 */ |
|
23 _LIT(KSusAdaptionServerName, "!SusAdaptionSrv"); |
|
24 |
|
25 /** |
|
26 @internalComponent |
|
27 @released |
|
28 */ |
|
29 /** |
|
30 A Major version must be specifyed when creating a session with the server |
|
31 @internalComponent |
|
32 @released |
|
33 */ |
|
34 const TUint KSsmAdaptationMajorVersionNumber=0; |
|
35 /** |
|
36 A Minor version must be specifyed when creating a session with the server |
|
37 @internalComponent |
|
38 @released |
|
39 */ |
|
40 const TUint KSsmAdaptationMinorVersionNumber=1; |
|
41 /** |
|
42 @internalComponent |
|
43 @released |
|
44 */ |
|
45 const TUint KSsmAdaptationBuildVersionNumber=1; |
|
46 /** |
|
47 @internalComponent |
|
48 @released |
|
49 */ |
|
50 const TInt KSsmFirstUsedAdaptationOpCode = 1; |
|
51 |
|
52 /** |
|
53 Op-codes used in message passing between client and server. |
|
54 @internalComponent |
|
55 @released |
|
56 @capability |
|
57 */ |
|
58 enum TSusAdaptionServerRequests |
|
59 { |
|
60 //State Adaptation related opcodes |
|
61 ERequestCoopSysStateChange = KSsmFirstUsedAdaptationOpCode, |
|
62 ERequestCoopSysSelfTest, |
|
63 ERequestCoopSysPerformRestartActions, |
|
64 ERequestCoopSysPerformShutdownActions, |
|
65 ERequestCoopSysPerformRfsActions, |
|
66 ERequestCoopSysCancel, |
|
67 ENotifyCoopSysEvent, |
|
68 ENotifyCoopSysCancel, |
|
69 EGetLastCoopSysEvent, |
|
70 //SIM Adaptation related opcodes |
|
71 EGetSimOwned, |
|
72 EGetSimCancel, |
|
73 ENotifySimEvent, |
|
74 ENotifySimCancel, |
|
75 EGetLastSimEvent, |
|
76 // RTC Adaptation related opcodes |
|
77 EValidateRtc, |
|
78 ESetWakeupAlarm, |
|
79 EUnsetWakeupAlarm, |
|
80 ERtcCancel, |
|
81 //Misc Adaptation opcodes |
|
82 ESecurityStateChange, |
|
83 EGetGlobalStartupMode, |
|
84 EPrepareSimLanguages, |
|
85 EGetHiddenReset, |
|
86 EMiscCancel, |
|
87 EGetSimLanguagesArray, |
|
88 //Emergency call Rf Adaptation opcodes |
|
89 EActivateRfForEmergencyCall, |
|
90 EDeactivateRfForEmergencyCall, |
|
91 EEmergencyCallRfCancel, |
|
92 //Opcodes used for testing purposes |
|
93 EDebugMarkHeap, |
|
94 EDebugMarkHeapEnd, |
|
95 EDebugCleanupAdaptations, |
|
96 EDebugSetHeapFailure, |
|
97 EDebugUnSetHeapFailure, |
|
98 //opcode for setting client as priorityclient |
|
99 ESetAsPriorityClient, |
|
100 //End of supported opcodes |
|
101 EEndOfSusAdaptionOpCodes |
|
102 }; |
|
103 |
|
104 #endif |