sysstatemgmt/systemstatemgr/inc/ssmutility.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 __SSMUTILITY_H_
       
    17 #define __SSMUTILITY_H_
       
    18 
       
    19 #include <e32def.h>
       
    20 #include <e32cmn.h>
       
    21 
       
    22 /**
       
    23  The UID value for System Utility Plugin DLLs.
       
    24  @publishedPartner
       
    25  @released
       
    26  */
       
    27 const TInt KSsmUtilityPluginDllTypeUidValue=0x2000D767;
       
    28 
       
    29 /**
       
    30  The type UID for System Utility Plugin DLLs.
       
    31  @publishedPartner
       
    32  @released
       
    33  */
       
    34 const TUid KSsmUtilityPluginDllTypeUid={KSsmUtilityPluginDllTypeUidValue};
       
    35 
       
    36 
       
    37 /**
       
    38  This interface is used for plug-ins in the SSM Utility Server that are intended
       
    39  to monitor some aspect of the system. 
       
    40  
       
    41  @see SSM_START_SSM_UTILITY_PLUGIN
       
    42  @released
       
    43  @publishedPartner
       
    44  */
       
    45 class MSsmUtility
       
    46 	{
       
    47 public:
       
    48 	/**
       
    49 	 Expected to install an active object in the SSM
       
    50 	 Utility Server's active scheduler.
       
    51 	 */
       
    52 	virtual void InitializeL() = 0;
       
    53 	
       
    54 	/**
       
    55 	 Expected to start running an active object in the SSM
       
    56 	 Utility Server's active scheduler.
       
    57 	 */
       
    58 	virtual void StartL() = 0;
       
    59 	
       
    60 	/**
       
    61 	 Expected to stop, remove and delete the active object that was installed 
       
    62 	 and started with the @c InitialiseL and @c StartL members of this interface.
       
    63 	 Should also free resources allocated for this derived M class.
       
    64 	 */
       
    65 	virtual void Release() = 0;
       
    66 	};
       
    67 
       
    68 #endif