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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __SSMSUBSTATES_HRH__
17 #define __SSMSUBSTATES_HRH__
21 This enum contains sub-states for Startup System State.
22 It matches TStartupStateIdentifier in sysstart (startup.hrh) for backwards compatibility.
27 enum TSsmStartupSubStates
29 /** Undefined state */
30 ESsmStartupSubStateUndefined = 0x00,
32 /** Reserved for future use
34 ESsmStartupSubStateReserved1 = 0x08,
36 /** Within this state all ROM based(static) components or resources
37 that are critical to the operation of the phone function are started. */
38 ESsmStartupSubStateCriticalStatic = 0x10,
40 /** Reserved for future use
42 ESsmStartupSubStateReserved2 = 0x18,
44 /** Within this state all non-ROM based(dynamic) components or resources
45 that are critical to the operation of the phone function are started. */
46 ESsmStartupSubStateCriticalDynamic = 0x20,
48 /** Networking state */
49 ESsmStartupSubStateNetworkingCritical = 0x28,
51 /** Within this state all ROM based(static) or non-ROM based(dynamic) components or
52 resources that are non-critical to the operation of the phone function are started. */
53 ESsmStartupSubStateNonCritical = 0x30,
55 /** Reserved for future use.
57 ESsmStartupSubStateReserved3 = 0x38,
59 /** Reserved for future use.
61 ESsmStartupSubStateReserved4 = 0x40
64 Additional states for use 0x48 - 0xFF
72 This enum contains sub-states for Normal System State.
77 enum TSsmNormalSubStates
79 /** Undefined state */
80 ESsmNormalSubStateUndefined = 0x00,
82 /** Reserved for future use
84 ESsmNormalSubStateReserved1 = 0x08,
86 /** Publishes the state. */
87 ESsmNormalSubState = 0x10,
89 /** Reserved for future use.
91 ESsmNormalSubStateReserved2 = 0x18,
93 /** Reserved for future use.
95 ESsmNormalSubStateReserved3 = 0x20,
97 /** This state is valid only when patchable constant KSsmGracefulOffline is enabled*/
98 ESsmNormalRfOnSubState = 0x28,
100 /** This state is valid only when patchable constant KSsmGracefulOffline is enabled*/
101 ESsmNormalRfOffSubState = 0x30
104 Additional states for use 0x38 - 0xFF
109 This enum contains sub-states for Fail System State.
114 enum TSsmFailSubStates
116 /** Undefined state */
117 ESsmFailSubStateUndefined = 0x00,
119 /** Reserved for future use
120 @internalComponent */
121 ESsmFailSubStateReserved1 = 0x08,
123 /** Publishes the state and issues a device poweroff. */
124 ESsmFailSubStatePowerOff = 0x10,
126 /** Reserved for future use.
127 @internalComponent */
128 ESsmFailSubStateReserved2 = 0x18,
130 /** Publishes the state and issues a device restart. */
131 ESsmFailSubStateRestart = 0x20,
133 /** Reserved for future use.
134 @internalComponent */
135 ESsmFailSubStateReserved3 = 0x28
138 Additional states for use 0x30 - 0xFF
143 This enum contains sub-states for Shutdown System State.
148 enum TSsmShutdownSubStates
150 /** Undefined state */
151 ESsmShutdownSubStateUndefined = 0x00,
153 /** Reserved for future use
154 @internalComponent */
155 ESsmShutdownSubStateReserved1 = 0x08,
157 /** Within this state all components or resources that are critical and have registered for the shutdown notification
158 are given notification to carryout shutdown activities. */
159 ESsmShutdownSubStateCritical = 0x10,
161 /** Reserved for future use.
162 @internalComponent */
163 ESsmShutdownSubStateReserved2 = 0x18,
165 /** Within this state all components or resources that are non-critical and have registered for the shutdown notification
166 are given notification to carryout shutdown activities. */
167 ESsmShutdownSubStateNonCritical = 0x20,
169 /** Reserved for future use.
170 @internalComponent */
171 ESsmShutdownSubStateReserved3 = 0x28,
173 /** Power Off state. */
174 ESsmShutdownSubStatePowerOff = 0x30,
176 /** Restart the device. */
177 ESsmShutdownSubStateReStart = 0x38,
179 /** Reserved for future use.
180 @internalComponent */
181 ESsmShutdownSubStateReserved4 = 0x40
184 Additional states for use 0x48 - 0xFF
190 This enum contains sub-states for Emergency Calls System State.
195 enum TSsmEmergencyCallSubStates
197 /** Undefined state */
198 ESsmEmergencyCallSubStateUndefined = 0x00,
200 /** Reserved for future use
201 @internalComponent */
202 ESsmEmergencyCallSubStateReserved1 = 0x08,
206 Reserved for future use.
208 ESsmEmergencyCallsEnabledSubState = 0x10,
212 Reserved for future use.
214 ESsmEmergencyCallsDisabledSubState = 0x18,
218 Reserved for future use.
220 ESsmEmergencyCallsEnabledSubStateReserved2 = 0x20
223 Additional states for use 0x28 - 0xFF
228 This enum contains sub-states for Back-up System State.
233 enum TSsmBackupSubStates
235 /** Undefined state */
236 ESsmBackupSubStateUndefined = 0x00,
238 /** Reserved for future use
239 @internalComponent */
240 ESsmBackupSubStateReserved1 = 0x08,
244 Reserved for future use.
246 ESsmBackupSubState = 0x10,
250 Reserved for future use.
252 ESsmBackupSubStateReserved2 = 0x18
255 Additional states for use 0x20 - 0xFF
260 This enum contains sub-states for Restore System State.
265 enum TSsmRestoreSubStates
267 /** Undefined state */
268 ESsmRestoreSubStateUndefined = 0x00,
270 /** Reserved for future use
271 @internalComponent */
272 ESsmRestoreSubStateReserved1 = 0x08,
276 Reserved for future use.
278 ESsmRestoreSubState = 0x10,
282 Reserved for future use.
284 ESsmRestoreSubStateReserved2 = 0x18
287 Additional states for use 0x20 - 0xFF
291 #endif //__SSMSUBSTATES_HRH__