|
1 // Copyright (c) 1997-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 <techview/eikon.rh> |
|
17 #include "start.hrh" |
|
18 |
|
19 |
|
20 STRUCT STUBPARAMS |
|
21 { |
|
22 LTEXT splash_exe = ""; // No translation |
|
23 LLINK apps_list_id; |
|
24 LLINK exe_list_id; |
|
25 } |
|
26 |
|
27 STRUCT STARTUP_ITEM |
|
28 { |
|
29 LONG uid = 0; |
|
30 LTEXT path =""; // No translation |
|
31 LTEXT winspath =""; // Only used with ECmdLnArgExecutableType on WINS |
|
32 LTEXT args =""; // Command line arguments, Only used with ECmdLnArgExecutableType |
|
33 LONG stackSize = 0; // Only used with ECmdLnArgExecutableType on WINS (0=default) |
|
34 LONG minHeapSize = 0; // Only used with ECmdLnArgExecutableType on WINS (0=default) |
|
35 LONG maxHeapSize = 0x400000;// Only used with ECmdLnArgExecutableType on WINS |
|
36 WORD monitored = 0; |
|
37 WORD semaphore = 0; |
|
38 WORD viewless = 0; // 1 would start this app in viewless mode |
|
39 WORD boot_type = EBothBootType; |
|
40 } |
|
41 |
|
42 STRUCT STARTUP_EXTRAS_ITEM |
|
43 { |
|
44 LONG uid = 0; |
|
45 LTEXT path =""; // No translation |
|
46 LTEXT winspath =""; // Only used with ECmdLnArgExecutableType on WINS |
|
47 LTEXT args =""; // Command line arguments, Only used with ECmdLnArgExecutableType |
|
48 LONG stackSize = 0; // Only used with ECmdLnArgExecutableType on WINS (0=default) |
|
49 LONG minHeapSize = 0; // Only used with ECmdLnArgExecutableType on WINS (0=default) |
|
50 LONG maxHeapSize = 0x400000;// Only used with ECmdLnArgExecutableType on WINS |
|
51 WORD monitored = 0; |
|
52 WORD viewless = 0; // 1 would start this app in viewless mode |
|
53 WORD boot_type = EBothBootType; |
|
54 } |
|
55 |
|
56 RESOURCE STUBPARAMS r_app_start_params |
|
57 { |
|
58 splash_exe = "Z:\\SYSTEM\\PROGRAMS\\SPLASH"; // No translation of path |
|
59 apps_list_id = r_startup_list; |
|
60 exe_list_id = r_start_extras_list; |
|
61 } |
|
62 |
|
63 RESOURCE ARRAY r_startup_list //Needed before the splashscreen is removed |
|
64 { |
|
65 items= |
|
66 { |
|
67 STARTUP_ITEM |
|
68 { |
|
69 path = "Z:\\System\\Libs\\InstRec"; // No translation of path |
|
70 boot_type = EExecutableType; |
|
71 }, |
|
72 STARTUP_ITEM |
|
73 { // Shell |
|
74 uid = 0x10003A5D; // No translation of uid |
|
75 monitored = 1; |
|
76 semaphore = 1; |
|
77 boot_type = EApplicationType; |
|
78 }, |
|
79 // STARTUP_ITEM |
|
80 // { |
|
81 // path = "Z:\\System\\Libs\\watcher"; // No translation of path |
|
82 // boot_type = EExecutableType; |
|
83 // }, |
|
84 |
|
85 // !!! ADDED FOR MESSAGING TEST !!! START |
|
86 |
|
87 STARTUP_ITEM |
|
88 { |
|
89 path = "Z:\\System\\MsgTest\\StayAwake"; // No translation of path |
|
90 boot_type = EExecutableType; |
|
91 }, |
|
92 STARTUP_ITEM |
|
93 { |
|
94 path = "Z:\\System\\Samples\\EShell"; // No translation of path |
|
95 boot_type = EExecutableType; |
|
96 } |
|
97 |
|
98 // !!! ADDED FOR MESSAGING TEST !!! END |
|
99 |
|
100 }; |
|
101 } |
|
102 |
|
103 RESOURCE ARRAY r_start_extras_list |
|
104 { |
|
105 items= |
|
106 { |
|
107 STARTUP_EXTRAS_ITEM |
|
108 { |
|
109 path = "Z:\\System\\Programs\\DefaultFileInit"; // No translation of path |
|
110 boot_type = EExecutableType; |
|
111 }, |
|
112 STARTUP_EXTRAS_ITEM |
|
113 { |
|
114 path = "SystemAMS"; |
|
115 winspath = "JavaAMS"; |
|
116 boot_type = ECmdLnArgExecutableType; |
|
117 args="-boot"; |
|
118 } |
|
119 /* |
|
120 #ifndef __MINI_BUILD__ |
|
121 ,STARTUP_EXTRAS_ITEM |
|
122 { // IR default listener (Beamer) |
|
123 uid = 0x10005fd5; // No translation of uid |
|
124 monitored = 1; |
|
125 viewless = 1; |
|
126 boot_type = EApplicationType; |
|
127 } |
|
128 #endif |
|
129 This is left as an example how applications are added in startup list of extra applications. |
|
130 */ }; |
|
131 } |