1 /* |
|
2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Header file for CCSCEngSettingsCleanupPluginInterface class. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CSCSETTINGSCLEANUPPLUGININTERFACE_H |
|
19 #define CSCSETTINGSCLEANUPPLUGININTERFACE_H |
|
20 |
|
21 #include <e32base.h> |
|
22 #include <ecom/ecom.h> |
|
23 |
|
24 // Constant for plugin interface: |
|
25 const TUid KCSCSettingsCleanupPluginInterfaceUid = { 0x2000B009 }; |
|
26 |
|
27 |
|
28 class CCSCEngSettingsCleanupPluginInterface : public CBase |
|
29 { |
|
30 public: |
|
31 |
|
32 enum TCSCPluginType |
|
33 { |
|
34 ESipVoIPCleanupPlugin = 0 |
|
35 }; |
|
36 |
|
37 |
|
38 /** |
|
39 * Creates new CSC settings cleanup plugin having the given UID. |
|
40 * Uses Leave code KErrNotFound if implementation is not found. |
|
41 * |
|
42 * @param aImplementationUid Implementation UID of the plugin to be |
|
43 * created. |
|
44 */ |
|
45 static CCSCEngSettingsCleanupPluginInterface* NewL( |
|
46 const TUid aImplementationUid ); |
|
47 |
|
48 |
|
49 virtual ~CCSCEngSettingsCleanupPluginInterface(); |
|
50 |
|
51 |
|
52 // New methods |
|
53 |
|
54 virtual TCSCPluginType PluginType() const; |
|
55 |
|
56 |
|
57 virtual void RemoveSettingsL( TUint32 aServiceId ) = 0; |
|
58 |
|
59 |
|
60 public: // Data |
|
61 |
|
62 /// Unique key for implementations of this interface. |
|
63 TUid iInstanceKey; |
|
64 }; |
|
65 |
|
66 #include <cscengsettingscleanupplugininterface.inl> |
|
67 |
|
68 #endif // CSCSETTINGSCLEANUPPLUGININTERFACE_H |
|