diff -r f742655b05bf -r d38647835c2e commsconfig/cscengine/inc/cscengsettingscleanupplugininterface.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/commsconfig/cscengine/inc/cscengsettingscleanupplugininterface.h Wed Sep 01 12:29:57 2010 +0100 @@ -0,0 +1,68 @@ +/* +* Copyright (c) 2005 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: Header file for CCSCEngSettingsCleanupPluginInterface class. +* +*/ + +#ifndef CSCSETTINGSCLEANUPPLUGININTERFACE_H +#define CSCSETTINGSCLEANUPPLUGININTERFACE_H + +#include +#include + +// Constant for plugin interface: +const TUid KCSCSettingsCleanupPluginInterfaceUid = { 0x2000B009 }; + + +class CCSCEngSettingsCleanupPluginInterface : public CBase + { + public: + + enum TCSCPluginType + { + ESipVoIPCleanupPlugin = 0 + }; + + + /** + * Creates new CSC settings cleanup plugin having the given UID. + * Uses Leave code KErrNotFound if implementation is not found. + * + * @param aImplementationUid Implementation UID of the plugin to be + * created. + */ + static CCSCEngSettingsCleanupPluginInterface* NewL( + const TUid aImplementationUid ); + + + virtual ~CCSCEngSettingsCleanupPluginInterface(); + + + // New methods + + virtual TCSCPluginType PluginType() const; + + + virtual void RemoveSettingsL( TUint32 aServiceId ) = 0; + + + public: // Data + + /// Unique key for implementations of this interface. + TUid iInstanceKey; + }; + +#include + +#endif // CSCSETTINGSCLEANUPPLUGININTERFACE_H