1.1 --- a/epoc32/include/mw/startupitem.rh Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/mw/startupitem.rh Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,52 @@
1.4 -startupitem.rh
1.5 +/*
1.6 +* Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description: Definitions for the stucture of a configuration file required
1.19 +* for components started at boot time.
1.20 +*
1.21 +*/
1.22 +
1.23 +
1.24 +#ifndef STARTUPITEM_RH
1.25 +#define STARTUPITEM_RH
1.26 +
1.27 +#include <StartupItem.hrh>
1.28 +
1.29 +/** Defines the structure of the startup control resource file providing information about
1.30 +* component(s) to be started at boot time.
1.31 +*
1.32 +* Example of the resource file:
1.33 +*
1.34 +* @code
1.35 +* #include <startupitem.rh>
1.36 +*
1.37 +* RESOURCE STARTUP_ITEM_INFO example
1.38 +* {
1.39 +* executable_name = "c:\\sys\\bin\\example.exe";
1.40 +* recovery = EStartupItemExPolicyNone;
1.41 +* }
1.42 +* @endcode
1.43 +*
1.44 +*/
1.45 +
1.46 +STRUCT STARTUP_ITEM_INFO
1.47 + {
1.48 + BYTE version = 0; ///< Version info. Do NOT use.
1.49 + LTEXT executable_name(255); ///< The path and name of the executable.
1.50 + WORD recovery = EStartupItemExPolicyNone; ///< The exception recovery policy used.
1.51 + LONG reserved_1 = 0; ///< Reserved for future use.
1.52 + BYTE reserved_2 = 0; ///< Reserved for future use.
1.53 + BYTE reserved_3 = 0; ///< Reserved for future use.
1.54 + }
1.55 +
1.56 +#endif // STARTUPITEM_RH
1.57 \ No newline at end of file