|
1 # 1 "start.rss" |
|
2 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // Start.rss |
|
16 // |
|
17 // |
|
18 |
|
19 |
|
20 # 1 "start.hrh" 1 |
|
21 // Start.hrh |
|
22 // |
|
23 // Copyright (c) 1997-2001 Symbian Ltd. All rights reserved. |
|
24 // |
|
25 |
|
26 //#include <techview/eikon.rh> |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 enum |
|
33 { |
|
34 EExecutableType = 0x01, |
|
35 EApplicationType = 0x02 |
|
36 }; |
|
37 |
|
38 |
|
39 |
|
40 # 7 "start.rss" 2 |
|
41 |
|
42 |
|
43 |
|
44 STRUCT STUBPARAMS |
|
45 { |
|
46 LTEXT splash_exe = ""; // No translation |
|
47 LLINK apps_list_id; |
|
48 LLINK exe_list_id; |
|
49 } |
|
50 |
|
51 STRUCT STARTUP_ITEM |
|
52 { |
|
53 LONG uid = 0; |
|
54 LTEXT path =""; // No translation |
|
55 WORD monitored = 0; |
|
56 WORD semaphore = 0; |
|
57 WORD viewless = 0; // 1 would start this app in viewless mode |
|
58 WORD boot_type = EBothBootType; |
|
59 } |
|
60 |
|
61 STRUCT STARTUP_EXTRAS_ITEM |
|
62 { |
|
63 LONG uid = 0; |
|
64 LTEXT path =""; // No translation |
|
65 WORD monitored = 0; |
|
66 WORD viewless = 0; // 1 would start this app in viewless mode |
|
67 WORD boot_type = EBothBootType; |
|
68 } |
|
69 |
|
70 RESOURCE STUBPARAMS r_app_start_params |
|
71 { |
|
72 splash_exe = "Z:\\SYSTEM\\PROGRAMS\\SPLASH"; // No translation of path |
|
73 apps_list_id = r_startup_list; |
|
74 exe_list_id = r_start_extras_list; |
|
75 } |
|
76 |
|
77 RESOURCE ARRAY r_startup_list //Needed before the splashscreen is removed |
|
78 { |
|
79 items= |
|
80 { |
|
81 STARTUP_ITEM |
|
82 { // Shell |
|
83 uid = 0x10003A5D; // No translation of uid |
|
84 monitored = 1; |
|
85 semaphore = 1; |
|
86 boot_type = EApplicationType; |
|
87 }, |
|
88 STARTUP_ITEM |
|
89 { |
|
90 path = "Z:\\System\\Libs\\watcher"; // No translation of path |
|
91 boot_type = EExecutableType; |
|
92 }, |
|
93 STARTUP_ITEM |
|
94 { |
|
95 path = "Z:\\System\\MsgTest\\StayAwake"; // No translation of path |
|
96 boot_type = EExecutableType; |
|
97 }, |
|
98 STARTUP_ITEM |
|
99 { |
|
100 path = "Z:\\System\\Samples\\EShell"; // No translation of path |
|
101 boot_type = EExecutableType; |
|
102 } |
|
103 }; |
|
104 } |
|
105 |
|
106 RESOURCE ARRAY r_start_extras_list |
|
107 { |
|
108 items= |
|
109 { |
|
110 STARTUP_EXTRAS_ITEM |
|
111 { |
|
112 path = "Z:\\System\\Programs\\DefaultFileInit"; // No translation of path |
|
113 boot_type = EExecutableType; |
|
114 } |
|
115 /* |
|
116 #ifndef __MINI_BUILD__ |
|
117 ,STARTUP_EXTRAS_ITEM |
|
118 { // IR default listener (Beamer) |
|
119 uid = 0x10005fd5; // No translation of uid |
|
120 monitored = 1; |
|
121 viewless = 1; |
|
122 boot_type = EApplicationType; |
|
123 } |
|
124 #endif |
|
125 This is left as an example how applications are added in startup list of extra applications. |
|
126 */ }; |
|
127 } |