diff -r 000000000000 -r 4e1aa6a622a0 sysstatemgmt/systemstatemgr/inc/ssmutility.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysstatemgmt/systemstatemgr/inc/ssmutility.h Tue Feb 02 00:53:00 2010 +0200 @@ -0,0 +1,68 @@ +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +#ifndef __SSMUTILITY_H_ +#define __SSMUTILITY_H_ + +#include +#include + +/** + The UID value for System Utility Plugin DLLs. + @publishedPartner + @released + */ +const TInt KSsmUtilityPluginDllTypeUidValue=0x2000D767; + +/** + The type UID for System Utility Plugin DLLs. + @publishedPartner + @released + */ +const TUid KSsmUtilityPluginDllTypeUid={KSsmUtilityPluginDllTypeUidValue}; + + +/** + This interface is used for plug-ins in the SSM Utility Server that are intended + to monitor some aspect of the system. + + @see SSM_START_SSM_UTILITY_PLUGIN + @released + @publishedPartner + */ +class MSsmUtility + { +public: + /** + Expected to install an active object in the SSM + Utility Server's active scheduler. + */ + virtual void InitializeL() = 0; + + /** + Expected to start running an active object in the SSM + Utility Server's active scheduler. + */ + virtual void StartL() = 0; + + /** + Expected to stop, remove and delete the active object that was installed + and started with the @c InitialiseL and @c StartL members of this interface. + Should also free resources allocated for this derived M class. + */ + virtual void Release() = 0; + }; + +#endif