|
1 /* |
|
2 * Copyright (c) 2001-2006 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: EAP and WLAN authentication protocols. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #if !defined(_EAPOL_WLAN_STATE_H_) |
|
22 #define _EAPOL_WLAN_STATE_H_ |
|
23 |
|
24 #include "eap_type_selection.h" |
|
25 #include "eap_array.h" |
|
26 #include "eapol_key_state.h" |
|
27 |
|
28 //-------------------------------------------------- |
|
29 |
|
30 class abs_eap_am_tools_c; |
|
31 |
|
32 |
|
33 /// wlan_state_c class stores information of one supported EAP-type. |
|
34 class EAP_EXPORT eapol_wlan_state_c |
|
35 { |
|
36 private: |
|
37 //-------------------------------------------------- |
|
38 |
|
39 /// This is pointer to the tools class. |
|
40 abs_eap_am_tools_c * const m_am_tools; |
|
41 |
|
42 bool m_is_valid; |
|
43 |
|
44 //-------------------------------------------------- |
|
45 |
|
46 //-------------------------------------------------- |
|
47 public: |
|
48 //-------------------------------------------------- |
|
49 |
|
50 /** |
|
51 * The destructor of the eapol_wlan_state_c class does nothing special. |
|
52 */ |
|
53 EAP_FUNC_IMPORT virtual ~eapol_wlan_state_c(); |
|
54 |
|
55 /** |
|
56 * The constructor of the eapol_wlan_state_c class does nothing special. |
|
57 */ |
|
58 EAP_FUNC_IMPORT eapol_wlan_state_c( |
|
59 abs_eap_am_tools_c * const tools); |
|
60 |
|
61 /** |
|
62 * The get_is_valid() function returns the status of the object. |
|
63 * @return True indicates the object is initialized. |
|
64 */ |
|
65 EAP_FUNC_IMPORT bool get_is_valid() const; |
|
66 |
|
67 }; // class eapol_wlan_state_c |
|
68 |
|
69 |
|
70 #endif //#if !defined(_EAPOL_WLAN_STATE_H_) |
|
71 |
|
72 //-------------------------------------------------- |
|
73 |
|
74 |
|
75 // End. |