|
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 #include <ssm/ssmcmd.rh> |
|
17 #include <ssm/ssmsubstates.hrh> |
|
18 |
|
19 UID2 KUidSsmCommandListResourceFile |
|
20 |
|
21 // SSM_COMMAND_LIST_ROOT must be the first resource in a command list resource file. |
|
22 // The SSM relies on this having a resource ID of 1. |
|
23 RESOURCE SSM_COMMAND_LIST_ROOT |
|
24 { |
|
25 command_list_mapping = r_command_list_mapping; |
|
26 } |
|
27 |
|
28 RESOURCE SSM_COMMAND_LIST_MAPPING r_command_list_mapping |
|
29 { |
|
30 mappings = |
|
31 { |
|
32 SSM_COMMANDLISTID_TO_RESOURCEID |
|
33 { |
|
34 command_list_id = 0x48; |
|
35 resource_id = r_testapp_command; |
|
36 } |
|
37 }; |
|
38 } |
|
39 |
|
40 |
|
41 RESOURCE SSM_COMMAND_LIST r_testapp_command |
|
42 { |
|
43 commands = |
|
44 { |
|
45 r_command_publish_state |
|
46 , r_command_statetranfromshutdown |
|
47 }; |
|
48 } |
|
49 |
|
50 RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_state |
|
51 { |
|
52 severity = ECmdCriticalSeverity; |
|
53 } |
|
54 |
|
55 RESOURCE SSM_START_PROCESS_INFO r_command_statetranfromshutdown |
|
56 { |
|
57 severity = ECmdCriticalSeverity; |
|
58 name = "tgsastatetranfromshutdown.exe"; |
|
59 execution_behaviour = ESsmFireAndForget; |
|
60 } |
|
61 |