sysstatemgmt/systemstarter/src/systemstartup.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15  
       
    16 #if !defined (__SYSTEMSTARTUP_H__)
       
    17 #define __SYSTEMSTARTUP_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 #include <f32file.h>
       
    21 
       
    22 #include "startup.h"
       
    23 
       
    24 
       
    25 class CResourceFileReader;
       
    26 
       
    27 /**
       
    28 This class locates the next stage (eg critical dynamic) in the resource 
       
    29 file using a CResourceFileReader object. 
       
    30 @internalComponent 
       
    31 @deprecated
       
    32 */
       
    33 class CSystemStartup : public CBase, public MStartup
       
    34 	{
       
    35 public:
       
    36 	static CSystemStartup* NewL(TInt aBootMode);
       
    37 	static CSystemStartup* NewLC(TInt aBootMode);
       
    38 	~CSystemStartup();
       
    39 
       
    40 public:	// from MStartup
       
    41 	const MStartupStateInfo* GetNextStateL() const;
       
    42 
       
    43 private:
       
    44 	CSystemStartup();
       
    45 	void ConstructL(TInt aBootMode);
       
    46 
       
    47 private: // data
       
    48 	CResourceFileReader* 	iReader;
       
    49 	RFs 					iFs;
       
    50 	};
       
    51 
       
    52 #endif // __SYSTEMSTARTUP_H__