sysstatemgmt/systemstarter/src/DllStarter.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 (__DLLSTARTER_H__)
       
    17 #define __DLLSTARTER_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 #include "StartupCommand.h"
       
    21 
       
    22 // Forward class declaration
       
    23 class CSystemStartupDllInfo;  
       
    24 	
       
    25 /** A startup command object responsible for starting a function 
       
    26 within a DLL by ordinal number
       
    27 
       
    28 @internalComponent
       
    29 @deprecated
       
    30 */
       
    31 class CDllStarter : public CBase, public MStartupCommand
       
    32 	{
       
    33 public:
       
    34 	static CDllStarter* NewL(const CSystemStartupDllInfo* aDllInfo );
       
    35 	static CDllStarter* NewLC(const CSystemStartupDllInfo* aDllInfo );
       
    36 	~CDllStarter();
       
    37 	
       
    38 	// from MStartupCommand
       
    39 	void Execute(TRequestStatus& aCallerStatus);
       
    40 	void Release();
       
    41 
       
    42 private:
       
    43 	CDllStarter(const CSystemStartupDllInfo* aDllInfo );	
       
    44 	
       
    45 private:
       
    46 	const CSystemStartupDllInfo* iDllInfo;
       
    47 	};
       
    48 
       
    49 #endif // __DLLSTARTER_H__
       
    50