|
1 // Copyright (c) 2010 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 #include "ssmsubstateext.hrh" |
|
19 |
|
20 UID2 KUidSsmCommandListResourceFile |
|
21 |
|
22 // SSM_COMMAND_LIST_ROOT must be the first resource in a command list resource file. |
|
23 // The SSM relies on this having a resource ID of 1. |
|
24 RESOURCE SSM_COMMAND_LIST_ROOT |
|
25 { |
|
26 command_list_mapping = r_command_list_mapping; |
|
27 } |
|
28 |
|
29 RESOURCE SSM_COMMAND_LIST_MAPPING r_command_list_mapping |
|
30 { |
|
31 mappings = |
|
32 { |
|
33 SSM_COMMANDLISTID_TO_RESOURCEID |
|
34 { |
|
35 command_list_id = ESsmStateNonCritical; |
|
36 resource_id = r_testapp_command; |
|
37 } |
|
38 }; |
|
39 } |
|
40 |
|
41 |
|
42 RESOURCE SSM_COMMAND_LIST r_testapp_command |
|
43 { |
|
44 commands = |
|
45 { |
|
46 r_command_statetranfromnormal, |
|
47 r_command_statetranfromstartup |
|
48 }; |
|
49 } |
|
50 |
|
51 |
|
52 RESOURCE SSM_START_PROCESS_INFO r_command_statetranfromnormal |
|
53 { |
|
54 severity = ECmdCriticalSeverity; |
|
55 name = "tgsastatetranfromnormal.exe"; |
|
56 execution_behaviour = ESsmFireAndForget; |
|
57 } |
|
58 |
|
59 RESOURCE SSM_START_PROCESS_INFO r_command_statetranfromstartup |
|
60 { |
|
61 severity = ECmdCriticalSeverity; |
|
62 name = "tgsastatetranfromstartup.exe"; |
|
63 execution_behaviour = ESsmWaitForSignal; |
|
64 } |