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