|
1 /* |
|
2 * Copyright (c) 2001-2009 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 the License "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: This is the ECOM interface for EAP Plugin Configuration. |
|
15 * |
|
16 */ |
|
17 |
|
18 /* |
|
19 * %version: 13 % |
|
20 */ |
|
21 |
|
22 #ifndef __EAPPLUGINCONFIGURATIONIF_H__ |
|
23 #define __EAPPLUGINCONFIGURATIONIF_H__ |
|
24 |
|
25 |
|
26 // INCLUDES |
|
27 #include <e32base.h> |
|
28 #include <ecom/ecom.h> |
|
29 |
|
30 |
|
31 // CONSTANTS |
|
32 const TUid KEapPluginConfigInterfaceUid = {0x102072CA}; |
|
33 |
|
34 |
|
35 // CLASS DECLARATION |
|
36 /** |
|
37 * CEAPPluginConfigurationIf class |
|
38 * ECOM interface for EAP PLugin Configuration. |
|
39 */ |
|
40 class CEAPPluginConfigurationIf : public CBase |
|
41 { |
|
42 public: |
|
43 inline static CEAPPluginConfigurationIf* NewL( |
|
44 const TDesC8& aMatchString ); |
|
45 |
|
46 inline virtual ~CEAPPluginConfigurationIf(); |
|
47 |
|
48 /** |
|
49 * Load the EAP Plugin configuration |
|
50 * @param aWPAEAPPlugin The list of EAPs in use as it was read from |
|
51 * WlanEapList column of WLANServiceTable. In |
|
52 * output it contains the new list as it has |
|
53 * to be written in the same column of |
|
54 * database. |
|
55 * @param aConnectionName The name of the connection. |
|
56 * @return The ID of the button pressed to close configuration: |
|
57 * typically EAknSoftkeyBack for back, EAknCmdExit for a |
|
58 * request of exit or EEikCmdExit for a request of shutdown |
|
59 */ |
|
60 virtual TInt EAPPluginConfigurationL( TDes& aWPAEAPPlugin, |
|
61 const TUint32 aIapID, |
|
62 const TDes& aConnectionName ) = 0; |
|
63 |
|
64 /** |
|
65 * Load the EAP Plugin configuration (with expanded EAP types) |
|
66 * @param aWPAEnabledEAPPlugin The list of enabled EAPs in use as |
|
67 * it was read from WlanEnabledEapList column |
|
68 * of WLANServiceTable. In output it contains |
|
69 * the new list as it has to be written in the |
|
70 * same column of database. |
|
71 * @param aWPADisabledEAPPlugin The list of disabled EAPs in use as |
|
72 * it was read from WlanDisabledEapList column |
|
73 * of WLANServiceTable. In output it contains |
|
74 * the new list as it has to be written in the |
|
75 * same column of database. |
|
76 * @param aConnectionName The name of the connection. |
|
77 * @return The ID of the button pressed to close configuration: |
|
78 * typically EAknSoftkeyBack for back, EAknCmdExit for a |
|
79 * request of exit or EEikCmdExit for a request of shutdown |
|
80 */ |
|
81 virtual TInt EAPPluginConfigurationL( TDes8& aWPAEnabledEAPPlugin, |
|
82 TDes8& aWPADisabledEAPPlugin, |
|
83 const TUint32 aIapID, |
|
84 const TDes& aConnectionName ) = 0; |
|
85 |
|
86 /** |
|
87 * Shows the EAP type info. |
|
88 */ |
|
89 virtual void ShowEAPTypeInfo() = 0; |
|
90 |
|
91 /** |
|
92 * Deletes all EAP types' settings for |
|
93 * the given IAP. |
|
94 */ |
|
95 virtual void DeleteSettingsL( const TUint32 aIapID ) = 0; |
|
96 |
|
97 /** |
|
98 * Changes the index of the EAP settings for all EAP types |
|
99 */ |
|
100 virtual void ChangeIapIDL( const TUint32 aOldIapID, |
|
101 const TUint32 aNewIapID ) = 0; |
|
102 |
|
103 /** |
|
104 * Copies the EAP type settings to another ID |
|
105 */ |
|
106 virtual void CopySettingsL( const TUint32 aSourceIapID, |
|
107 const TUint32 aDestinationIapID ) = 0; |
|
108 |
|
109 |
|
110 private: // Data |
|
111 // This variable holds the instance identifier. |
|
112 TUid iDtor_ID_Key; |
|
113 }; |
|
114 |
|
115 |
|
116 #include "EAPPluginConfigurationIf.inl" |
|
117 |
|
118 #endif // __EAPPLUGINCONFIGURATIONIF_H__ |
|
119 |
|
120 // End of File |