sysstatemgmt/systemstatemgr/inc/apastarter.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2007-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 #ifndef __APASTARTER_H__
       
    17 #define __APASTARTER_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 
       
    21 /**
       
    22 This is an abstract interface to be loaded by ssma/shma before Ecom is up and running.
       
    23 
       
    24 Startsafe expect apstart.dll to have a factory-function at its first ordinal position, 
       
    25 which returns an implementation of this interface.
       
    26 
       
    27 @internalTechnology
       
    28 @released
       
    29 */
       
    30 class CApaStarter : public CBase
       
    31 	{
       
    32 public:
       
    33 	virtual void WaitForApparcToInitialiseL()=0;
       
    34 	virtual void StartAppL(const TDesC& aFileName, const TDesC& aArgs, TBool aViewLess, TBool aStartInBackground, TThreadId& aThreadId)=0;
       
    35 	virtual void StartAppL(const TDesC& aFileName, const TDesC& aArgs, TBool aViewLess, TBool aStartInBackground, TThreadId& aThreadId, TRequestStatus& aRequestStatusForRendezvous)=0;
       
    36 	virtual ~CApaStarter() {};
       
    37 	virtual void InitApparcServer(TRequestStatus& aStatus) = 0;
       
    38 	virtual void InitApparcServerCancel() = 0;
       
    39 	};
       
    40 
       
    41 #endif   	
       
    42 	
       
    43 
       
    44