sysstatemgmt/systemstarter/src/initapparcserver2.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(__INIT_APPARC_SERVER2_H__)
       
    17 #define __INIT_APPARC_SERVER2_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 #include "StartupCommand.h"
       
    21 
       
    22 class CStartupUtilProvider;
       
    23 
       
    24 /** Apparc server must have finished building up the list of app
       
    25 info before non-native apps can be launched. This class facilitates this sequence of
       
    26 events by waiting for the list to be built in its Execute method.
       
    27 @internalComponent
       
    28 @deprecated
       
    29 */
       
    30 class CInitAppArcServer : public CBase, public MStartupCommand
       
    31 	{
       
    32 public:
       
    33 	static CInitAppArcServer* NewL(CStartupUtilProvider& aProvider);
       
    34 	static CInitAppArcServer* NewLC(CStartupUtilProvider& aProvider);
       
    35 	void Execute(TRequestStatus& aStatus); 	// from MStartupCommand
       
    36 	void Release();
       
    37 
       
    38 private:
       
    39 	CInitAppArcServer(CStartupUtilProvider& aProvider);
       
    40 
       
    41 private:
       
    42 	CStartupUtilProvider& iProvider;
       
    43 	};
       
    44 
       
    45 #endif	// __INIT_APPARC_SERVER2_H__