sysstatemgmt/systemstarter/src/SysStart.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 
       
    17 #if !defined (__SYSTEM_STARTER_H__)
       
    18 #define __SYSTEM_STARTER_H__
       
    19 
       
    20 #include <e32base.h>
       
    21 
       
    22 /** System starter main controller class.
       
    23 @internalComponent
       
    24 @deprecated
       
    25 */
       
    26 class CSystemStarter: public CActive
       
    27 	{
       
    28 public:
       
    29 	static CSystemStarter* NewL();
       
    30 	static CSystemStarter* NewLC();
       
    31 	~CSystemStarter();
       
    32 	void Start();
       
    33 
       
    34 private: //from CActive
       
    35 	void RunL();
       
    36 	virtual TInt RunError(TInt aError);
       
    37 	void DoCancel();
       
    38 
       
    39 private:
       
    40 	CSystemStarter();
       
    41 
       
    42 private:
       
    43 	void RequestNotify();
       
    44 
       
    45 	};
       
    46 
       
    47 #endif