sysstatemgmt/systemstarter/src/StartupCommand.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 (__STARTUPCOMMAND_H__)
       
    17 #define __STARTUPCOMMAND_H__
       
    18 
       
    19 class TRequestStatus;
       
    20 
       
    21 /** Interface to a startup command. All command objects should inherit from this
       
    22 interface.
       
    23 @internalComponent
       
    24 @deprecated
       
    25 */
       
    26 class MStartupCommand
       
    27 	{
       
    28 public:
       
    29 	virtual void Release() = 0;
       
    30 
       
    31 	/** Execute the command. The system will wait on the supplied TRequestStatus
       
    32 	argument, so the implementation class can be asynchronous if necessary.
       
    33 	
       
    34 	@param aCallerStatus KErrNone if successful, otherwise another of the 
       
    35 	       system error codes.
       
    36 	*/
       
    37 	virtual void Execute(TRequestStatus& aCallerStatus) = 0;
       
    38 	};
       
    39 
       
    40 #endif