14 * Description: EAP and WLAN authentication protocols. |
14 * Description: EAP and WLAN authentication protocols. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 16 % |
19 * %version: 23 % |
20 */ |
20 */ |
21 |
21 |
22 #ifndef _EAPAKA_H_ |
22 #ifndef _EAPAKA_H_ |
23 #define _EAPAKA_H_ |
23 #define _EAPAKA_H_ |
24 |
24 |
25 // INCLUDES |
25 // INCLUDES |
26 #include <EapTypePlugin.h> |
26 #include <EapTypePlugin.h> |
|
27 #include "eap_am_export.h" |
|
28 // Start: added by script change_export_macros.sh. |
|
29 #if defined(EAP_NO_EXPORT_EAPAKA_H) |
|
30 #define EAP_CLASS_VISIBILITY_EAPAKA_H EAP_NONSHARABLE |
|
31 #define EAP_FUNC_VISIBILITY_EAPAKA_H |
|
32 #define EAP_C_FUNC_VISIBILITY_EAPAKA_H |
|
33 #define EAP_FUNC_EXPORT_EAPAKA_H |
|
34 #define EAP_C_FUNC_EXPORT_EAPAKA_H |
|
35 #elif defined(EAP_EXPORT_EAPAKA_H) |
|
36 #define EAP_CLASS_VISIBILITY_EAPAKA_H EAP_EXPORT |
|
37 #define EAP_FUNC_VISIBILITY_EAPAKA_H EAP_FUNC_EXPORT |
|
38 #define EAP_C_FUNC_VISIBILITY_EAPAKA_H EAP_C_FUNC_EXPORT |
|
39 #define EAP_FUNC_EXPORT_EAPAKA_H EAP_FUNC_EXPORT |
|
40 #define EAP_C_FUNC_EXPORT_EAPAKA_H EAP_C_FUNC_EXPORT |
|
41 #else |
|
42 #define EAP_CLASS_VISIBILITY_EAPAKA_H EAP_IMPORT |
|
43 #define EAP_FUNC_VISIBILITY_EAPAKA_H EAP_FUNC_IMPORT |
|
44 #define EAP_C_FUNC_VISIBILITY_EAPAKA_H EAP_C_FUNC_IMPORT |
|
45 #define EAP_FUNC_EXPORT_EAPAKA_H |
|
46 #define EAP_C_FUNC_EXPORT_EAPAKA_H |
|
47 #endif |
|
48 // End: added by script change_export_macros.sh. |
27 #include "eap_header.h" |
49 #include "eap_header.h" |
28 |
50 |
29 // FORWARD DECLARATIONS |
51 // FORWARD DECLARATIONS |
30 class eap_am_network_id_c; |
52 class eap_am_network_id_c; |
|
53 class AbsPacStoreInitializer; |
31 |
54 |
32 // CLASS DECLARATION |
55 // CLASS DECLARATION |
33 /** |
56 /** |
34 * Class that implements the generic EAP type interface. Implements EAP AKA protocol. |
57 * Class that implements the generic EAP type interface. Implements EAP AKA protocol. |
35 */ |
58 */ |
36 class CEapAka : public CEapTypePlugin |
59 class EAP_CLASS_VISIBILITY_EAPAKA_H CEapAka : public CEapTypePlugin |
37 { |
60 { |
38 public: |
61 public: |
39 |
62 |
40 /** |
63 /** |
41 * Construction function. Called by ECom after the EAP AKA plugin has been loaded. |
64 * Construction function. Called by ECom after the EAP AKA plugin has been loaded. |
42 * @param aIapInfo Pointer to the class that contains information about bearer type and unique index. |
65 * @param aIapInfo Pointer to the class that contains information about bearer type and unique index. |
43 * @return Pointer to the instance. |
66 * @return Pointer to the instance. |
44 */ |
67 */ |
45 static CEapAka* NewL(SIapInfo* aIapInfo); |
68 static CEapAka* NewL(SPluginInfo* aIapInfo); |
46 |
69 |
47 /** |
70 /** |
48 * Destructor does nothing. |
71 * Destructor does nothing. |
49 */ |
72 */ |
50 virtual ~CEapAka(); |
73 virtual ~CEapAka(); |
143 * Copies the EAP types configuration |
166 * Copies the EAP types configuration |
144 * @param aDestinationIndex ID to where copy the settings. |
167 * @param aDestinationIndex ID to where copy the settings. |
145 */ |
168 */ |
146 void CopySettingsL(const TIndexType aDestinationIndexType, const TInt aDestinationIndex); |
169 void CopySettingsL(const TIndexType aDestinationIndexType, const TInt aDestinationIndex); |
147 |
170 |
|
171 TInt InitialisePacStore(AbsPacStoreInitializer * const initializer); |
|
172 |
148 protected: |
173 protected: |
149 |
174 |
150 /** |
175 /** |
151 * Constructor initialises member variables. |
176 * Constructor initialises member variables. |
152 */ |
177 */ |