sl@0: /* sl@0: * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of the License "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * Start.rss sl@0: * sl@0: */ sl@0: sl@0: sl@0: #include sl@0: #include "start.hrh" sl@0: sl@0: STRUCT STUBPARAMS sl@0: { sl@0: LTEXT splash_exe = ""; // No translation sl@0: LLINK apps_list_id; sl@0: LLINK exe_list_id; sl@0: } sl@0: sl@0: STRUCT STARTUP_ITEM sl@0: { sl@0: LONG uid = 0; sl@0: LTEXT path =""; // No translation sl@0: LTEXT winspath =""; // Only used with ECmdLnArgExecutableType on WINS sl@0: LTEXT args =""; // Command line arguments, Only used with ECmdLnArgExecutableType sl@0: LONG stackSize = 0; // Only used with ECmdLnArgExecutableType on WINS (0=default) sl@0: LONG minHeapSize = 0; // Only used with ECmdLnArgExecutableType on WINS (0=default) sl@0: LONG maxHeapSize = 0x400000;// Only used with ECmdLnArgExecutableType on WINS sl@0: WORD monitored = 0; sl@0: WORD semaphore = 0; sl@0: WORD viewless = 0; // 1 would start this app in viewless mode sl@0: WORD boot_type = EBothBootType; sl@0: } sl@0: sl@0: STRUCT STARTUP_EXTRAS_ITEM sl@0: { sl@0: LONG uid = 0; sl@0: LTEXT path =""; // No translation sl@0: LTEXT winspath =""; // Only used with ECmdLnArgExecutableType on WINS sl@0: LTEXT args =""; // Command line arguments, Only used with ECmdLnArgExecutableType sl@0: LONG stackSize = 0; // Only used with ECmdLnArgExecutableType on WINS (0=default) sl@0: LONG minHeapSize = 0; // Only used with ECmdLnArgExecutableType on WINS (0=default) sl@0: LONG maxHeapSize = 0x400000;// Only used with ECmdLnArgExecutableType on WINS sl@0: WORD monitored = 0; sl@0: WORD viewless = 0; // 1 would start this app in viewless mode sl@0: WORD boot_type = EBothBootType; sl@0: } sl@0: sl@0: RESOURCE STUBPARAMS r_app_start_params sl@0: { sl@0: splash_exe = "Z:\\SYSTEM\\PROGRAMS\\SPLASH"; // No translation of path sl@0: apps_list_id = r_startup_list; sl@0: exe_list_id = r_start_extras_list; sl@0: } sl@0: sl@0: RESOURCE ARRAY r_startup_list //Needed before the splashscreen is removed sl@0: { sl@0: items= sl@0: { sl@0: STARTUP_ITEM sl@0: { sl@0: path = "Z:\\System\\Libs\\InstRec"; // No translation of path sl@0: boot_type = EExecutableType; sl@0: }, sl@0: STARTUP_ITEM sl@0: { // Shell sl@0: uid = 0x10003A5D; // No translation of uid sl@0: monitored = 1; sl@0: semaphore = 1; sl@0: boot_type = EApplicationType; sl@0: } sl@0: /* , sl@0: STARTUP_ITEM sl@0: { sl@0: path = "Z:\\System\\Libs\\watcher"; // No translation of path sl@0: boot_type = EExecutableType; sl@0: } sl@0: */ sl@0: }; sl@0: } sl@0: sl@0: RESOURCE ARRAY r_start_extras_list sl@0: { sl@0: items= sl@0: { sl@0: STARTUP_EXTRAS_ITEM sl@0: { sl@0: path = "Z:\\System\\Programs\\DefaultFileInit"; // No translation of path sl@0: boot_type = EExecutableType; sl@0: }, sl@0: STARTUP_EXTRAS_ITEM sl@0: { sl@0: path = "SystemAMS"; sl@0: winspath = "JavaAMS"; sl@0: boot_type = ECmdLnArgExecutableType; sl@0: args="-boot"; sl@0: } sl@0: /* sl@0: #ifndef __MINI_BUILD__ sl@0: ,STARTUP_EXTRAS_ITEM sl@0: { // IR default listener (Beamer) sl@0: uid = 0x10005fd5; // No translation of uid sl@0: monitored = 1; sl@0: viewless = 1; sl@0: boot_type = EApplicationType; sl@0: } sl@0: #endif sl@0: This is left as an example how applications are added in startup list of extra applications. sl@0: */ }; sl@0: }