|
1 // Copyright (c) 2008-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_flexiblemerge_sortsamefile.rss.rss |
|
15 // Modified default resource file to test app-framework |
|
16 // Modifications: |
|
17 // Generic Startup Architecture Startup State command lists to test that duplicate substates will panic the system |
|
18 // |
|
19 // |
|
20 |
|
21 #include <ssm/ssmcmd.rh> |
|
22 #include <ssm/ssmsubstates.hrh> |
|
23 |
|
24 UID2 KUidSsmCommandListResourceFile |
|
25 |
|
26 // SSM_COMMAND_LIST_ROOT must be the first resource in a command list resource file. |
|
27 // The SSM relies on this having a resource ID of 1. |
|
28 |
|
29 RESOURCE SSM_COMMAND_LIST_ROOT |
|
30 { |
|
31 command_list_mapping = r_command_list_mapping; |
|
32 } |
|
33 |
|
34 RESOURCE SSM_COMMAND_LIST_MAPPING r_command_list_mapping |
|
35 { |
|
36 mappings = |
|
37 { |
|
38 SSM_COMMANDLISTID_TO_RESOURCEID |
|
39 { |
|
40 command_list_id = 0x49; |
|
41 resource_id = r_non_critical_commands; |
|
42 } |
|
43 }; |
|
44 } |
|
45 |
|
46 RESOURCE SSM_COMMAND_LIST r_non_critical_commands |
|
47 { |
|
48 commands = |
|
49 { |
|
50 r_command_test_app |
|
51 , r_command_publish_system_state |
|
52 , r_command_test_proc |
|
53 }; |
|
54 } |
|
55 |
|
56 RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_system_state |
|
57 { |
|
58 severity = ECmdCriticalSeverity; |
|
59 priority = 150; |
|
60 } |
|
61 |
|
62 RESOURCE SSM_START_APP_INFO r_command_test_app |
|
63 { |
|
64 severity = ECmdCriticalSeverity; |
|
65 name = "gsatestappgood.exe"; |
|
66 execution_behaviour = ESsmWaitForSignal; |
|
67 priority = 50; |
|
68 } |
|
69 |
|
70 RESOURCE SSM_START_PROCESS_INFO r_command_test_proc |
|
71 { |
|
72 severity = ECmdCriticalSeverity; |
|
73 name = "gsatestprocgood.exe"; |
|
74 args = "-server"; |
|
75 execution_behaviour = ESsmWaitForSignal; |
|
76 priority = 1000; |
|
77 } |