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