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