systemhealthmanagement/systemhealthmgr/test/tsysmon/resource/hardware/appfwk-sysmon-0045_hardware0.rss
equal
deleted
inserted
replaced
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
19 // |
19 // |
20 // |
20 // |
21 |
21 |
22 #include <ssm/ssmcmd.rh> |
22 #include <ssm/ssmcmd.rh> |
23 #include <ssm/ssmsubstates.hrh> |
23 #include <ssm/ssmsubstates.hrh> |
24 #include <ssm/cmdpersistreboots.rh> |
|
25 #include <ssm/cmdpersistreboots.hrh> |
|
26 |
24 |
27 UID2 KUidSsmCommandListResourceFile |
25 UID2 KUidSsmCommandListResourceFile |
28 |
26 |
29 // SSM_COMMAND_LIST_ROOT must be the first resource in a command list resource file. |
27 // SSM_COMMAND_LIST_ROOT must be the first resource in a command list resource file. |
30 // The SSM relies on this having a resource ID of 1. |
28 // The SSM relies on this having a resource ID of 1. |
63 |
61 |
64 RESOURCE SSM_COMMAND_LIST r_critical_static_commands |
62 RESOURCE SSM_COMMAND_LIST r_critical_static_commands |
65 { |
63 { |
66 commands = |
64 commands = |
67 { |
65 { |
68 r_increment_boot_count |
66 r_command_publish_system_state |
69 , r_command_publish_system_state |
|
70 , r_command_ssmutilsrv |
67 , r_command_ssmutilsrv |
71 , r_command_sysmon |
68 , r_command_sysmon |
72 , r_command_sysagt2svr |
69 , r_command_sysagt2svr |
73 , r_command_fbserv |
70 , r_command_fbserv |
74 , r_command_wserv |
71 , r_command_wserv |
308 RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_system_state |
305 RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_system_state |
309 { |
306 { |
310 severity = ECmdCriticalSeverity; |
307 severity = ECmdCriticalSeverity; |
311 } |
308 } |
312 |
309 |
313 RESOURCE SSM_START_CUSTOM_COMMAND r_increment_boot_count |
310 |
314 { |
311 |
315 severity = ECmdCriticalSeverity; |
312 |
316 execution_behaviour = ESsmWaitForSignal; |
|
317 dllname = "cmncustomcmds.dll"; |
|
318 ordinal = 1; // Persist reboots custom command is at ordinal 1 |
|
319 dll_data = r_increment; |
|
320 } |
|
321 |
|
322 RESOURCE SSM_COMMAND_PERSIST_REBOOTS r_increment |
|
323 { |
|
324 val = EIncrementBootCount; |
|
325 } |
|
326 |
|