messagingfw/msgtest/targetautomation/TechviewStart/start.rpp
author hgs
Wed, 03 Nov 2010 22:41:46 +0530
changeset 62 db3f5fa34ec7
child 35 f8ad95794a08
permissions -rw-r--r--
201044_02
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
62
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
     1
# 1 "start.rss"
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
     2
// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
     3
// All rights reserved.
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
     4
// This component and the accompanying materials are made available
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
     5
// under the terms of "Eclipse Public License v1.0"
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
     6
// which accompanies this distribution, and is available
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
     7
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
     8
//
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
     9
// Initial Contributors:
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    10
// Nokia Corporation - initial contribution.
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    11
//
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    12
// Contributors:
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    13
//
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    14
// Description:
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    15
// Start.rss
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    16
// 
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    17
//
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    18
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    19
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    20
# 1 "start.hrh" 1
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    21
// Start.hrh
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    22
//
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    23
// Copyright (c) 1997-2001 Symbian Ltd.  All rights reserved.
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    24
//
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    25
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    26
//#include <techview/eikon.rh>
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    27
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    28
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    29
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    30
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    31
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    32
enum
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    33
	{
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    34
	EExecutableType = 0x01,
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    35
	EApplicationType = 0x02
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    36
	};
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    37
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    38
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    39
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    40
# 7 "start.rss" 2
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    41
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    42
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    43
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    44
STRUCT STUBPARAMS
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    45
	{
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    46
	LTEXT splash_exe = "";	// No translation
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    47
	LLINK apps_list_id;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    48
	LLINK exe_list_id;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    49
	}
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    50
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    51
STRUCT STARTUP_ITEM
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    52
	{
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    53
	LONG uid = 0;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    54
	LTEXT path ="";	// No translation
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    55
	WORD monitored = 0;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    56
	WORD semaphore = 0;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    57
	WORD viewless = 0; // 1 would start this app in viewless mode
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    58
	WORD boot_type = EBothBootType;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    59
	}
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    60
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    61
STRUCT STARTUP_EXTRAS_ITEM
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    62
	{
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    63
	LONG uid = 0;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    64
	LTEXT path ="";	// No translation
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    65
	WORD monitored = 0;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    66
	WORD viewless = 0; // 1 would start this app in viewless mode
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    67
	WORD boot_type = EBothBootType;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    68
	}
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    69
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    70
RESOURCE STUBPARAMS r_app_start_params
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    71
	{
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    72
	splash_exe = "Z:\\SYSTEM\\PROGRAMS\\SPLASH";	// No translation of path
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    73
	apps_list_id = r_startup_list;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    74
	exe_list_id = r_start_extras_list; 
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    75
	}
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    76
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    77
RESOURCE ARRAY r_startup_list //Needed before the splashscreen is removed
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    78
	{
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    79
	items=
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    80
		{
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    81
		STARTUP_ITEM
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    82
			{ // Shell
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    83
			uid = 0x10003A5D;	// No translation of uid
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    84
			monitored = 1;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    85
			semaphore = 1;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    86
			boot_type = EApplicationType;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    87
			},
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    88
		STARTUP_ITEM
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    89
			{
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    90
			path = "Z:\\System\\Libs\\watcher";	// No translation of path
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    91
			boot_type = EExecutableType;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    92
			},
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    93
		STARTUP_ITEM	
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    94
			{
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    95
			path = "Z:\\System\\MsgTest\\StayAwake"; // No translation of path
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    96
			boot_type = EExecutableType;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    97
			},
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    98
		STARTUP_ITEM	
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
    99
			{
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   100
			path = "Z:\\System\\Samples\\EShell";	// No translation of path
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   101
			boot_type = EExecutableType;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   102
			}
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   103
		};
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   104
	}
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   105
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   106
RESOURCE ARRAY r_start_extras_list
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   107
	{
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   108
	items=
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   109
		{
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   110
		STARTUP_EXTRAS_ITEM
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   111
			{
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   112
			path = "Z:\\System\\Programs\\DefaultFileInit";	// No translation of path
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   113
			boot_type = EExecutableType;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   114
			}
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   115
/*		
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   116
#ifndef __MINI_BUILD__
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   117
		,STARTUP_EXTRAS_ITEM
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   118
			{	// IR default listener (Beamer)
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   119
			uid = 0x10005fd5;	// No translation of uid
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   120
			monitored = 1;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   121
			viewless = 1;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   122
			boot_type = EApplicationType;
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   123
			}
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   124
#endif
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   125
This is left as an example how applications are added in startup list of extra applications.
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   126
*/		};
db3f5fa34ec7 201044_02
hgs
parents:
diff changeset
   127
	}