sysstatemgmt/systemstatemgr/inc/ssmloadsysmon.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 __SSMLOADSYSMON_H__
       
    17 #define __SSMLOADSYSMON_H__
       
    18 
       
    19 #include <e32std.h>
       
    20 
       
    21 class CStartupProperties;
       
    22 class CSsmStartupProperties;
       
    23 
       
    24 /**
       
    25 Shim dll used to remove the dependency of startsafe.dll which is common symbian component 
       
    26 on the sysmoncli.dll which is optional replaceable. loadsysmon.dll will load sysmoncli.dll.
       
    27 
       
    28 @internalTechnology
       
    29 @released
       
    30 */
       
    31 class MSsmLoadSysMon
       
    32 	{
       
    33 public:
       
    34 	virtual void OpenL()=0;
       
    35 	virtual void Close()=0;
       
    36 	virtual void MonitorL(const CStartupProperties& aStartupProperties, const RProcess& aProcess, TBool aExecuteRecoveryMethodOnFailure=EFalse)=0;
       
    37 	virtual void MonitorSelfL(const CStartupProperties& aStartupProperties)=0;
       
    38 	virtual void CancelMonitorSelfL()=0;
       
    39 	virtual void MonitorL(const CSsmStartupProperties& aSsmStartupProperties, const RProcess& aProcess, TBool aExecuteRecoveryMethodOnFailure=EFalse)=0;
       
    40 	virtual void MonitorSelfL(const CSsmStartupProperties& aSsmStartupProperties)=0;
       
    41 	};
       
    42 
       
    43 #endif
       
    44