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