sysstatemgmt/systemstarter/src/startuputilprovider.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2006-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 __STARTUPUTILPROVIDER__
       
    17 #define __STARTUPUTILPROVIDER__
       
    18 
       
    19 #include "startsafe.h"
       
    20 #include "sysmonclisess.h"
       
    21 
       
    22 /**
       
    23 Provides CStartSafe and RSysMonSession objects
       
    24 @internalComponent
       
    25 @deprecated
       
    26 */
       
    27 class CStartupUtilProvider : public CBase
       
    28 	{
       
    29 public:
       
    30 	static CStartupUtilProvider* NewL();	
       
    31 	
       
    32 	RSysMonSession& SysMonSessionL();
       
    33 	CStartSafe& StartSafe();		
       
    34 
       
    35 	~CStartupUtilProvider();
       
    36 	
       
    37 protected:
       
    38 	CStartupUtilProvider();
       
    39 	void ConstructL();
       
    40 		
       
    41 
       
    42 private:
       
    43 	CStartSafe *iStartSafe;
       
    44 	RSysMonSession iSysMonSession;
       
    45 	};
       
    46 
       
    47 #endif //__STARTUPUTILPROVIDER__