eapol/eapol_framework/eapol_common/include/eapol_wlan_state.h
changeset 52 c23bdf5a328a
parent 33 938269283a16
equal deleted inserted replaced
51:e863583e6720 52:c23bdf5a328a
    23 #define _EAPOL_WLAN_STATE_H_
    23 #define _EAPOL_WLAN_STATE_H_
    24 
    24 
    25 #include "eap_type_selection.h"
    25 #include "eap_type_selection.h"
    26 #include "eap_array.h"
    26 #include "eap_array.h"
    27 #include "eapol_key_state.h"
    27 #include "eapol_key_state.h"
       
    28 #include "eap_am_export.h"
       
    29 // Start: added by script change_export_macros.sh.
       
    30 #if defined(EAP_NO_EXPORT_EAPOL_WLAN_STATE_H)
       
    31 	#define EAP_CLASS_VISIBILITY_EAPOL_WLAN_STATE_H EAP_NONSHARABLE 
       
    32 	#define EAP_FUNC_VISIBILITY_EAPOL_WLAN_STATE_H 
       
    33 	#define EAP_C_FUNC_VISIBILITY_EAPOL_WLAN_STATE_H 
       
    34 	#define EAP_FUNC_EXPORT_EAPOL_WLAN_STATE_H 
       
    35 	#define EAP_C_FUNC_EXPORT_EAPOL_WLAN_STATE_H 
       
    36 #elif defined(EAP_EXPORT_EAPOL_WLAN_STATE_H)
       
    37 	#define EAP_CLASS_VISIBILITY_EAPOL_WLAN_STATE_H EAP_EXPORT 
       
    38 	#define EAP_FUNC_VISIBILITY_EAPOL_WLAN_STATE_H EAP_FUNC_EXPORT 
       
    39 	#define EAP_C_FUNC_VISIBILITY_EAPOL_WLAN_STATE_H EAP_C_FUNC_EXPORT 
       
    40 	#define EAP_FUNC_EXPORT_EAPOL_WLAN_STATE_H EAP_FUNC_EXPORT 
       
    41 	#define EAP_C_FUNC_EXPORT_EAPOL_WLAN_STATE_H EAP_C_FUNC_EXPORT 
       
    42 #else
       
    43 	#define EAP_CLASS_VISIBILITY_EAPOL_WLAN_STATE_H EAP_IMPORT 
       
    44 	#define EAP_FUNC_VISIBILITY_EAPOL_WLAN_STATE_H EAP_FUNC_IMPORT 
       
    45 	#define EAP_C_FUNC_VISIBILITY_EAPOL_WLAN_STATE_H EAP_C_FUNC_IMPORT 
       
    46 	#define EAP_FUNC_EXPORT_EAPOL_WLAN_STATE_H 
       
    47 	#define EAP_C_FUNC_EXPORT_EAPOL_WLAN_STATE_H 
       
    48 #endif
       
    49 // End: added by script change_export_macros.sh.
       
    50 
    28 
    51 
    29 //--------------------------------------------------
    52 //--------------------------------------------------
    30 
    53 
    31 class abs_eap_am_tools_c;
    54 class abs_eap_am_tools_c;
    32 
    55 
    33 
    56 
    34 /// wlan_state_c class stores information of one supported EAP-type.
    57 /// wlan_state_c class stores information of one supported EAP-type.
    35 class EAP_EXPORT eapol_wlan_state_c
    58 class EAP_CLASS_VISIBILITY_EAPOL_WLAN_STATE_H eapol_wlan_state_c
    36 {
    59 {
    37 private:
    60 private:
    38 	//--------------------------------------------------
    61 	//--------------------------------------------------
    39 
    62 
    40 	/// This is pointer to the tools class.
    63 	/// This is pointer to the tools class.
    49 	//--------------------------------------------------
    72 	//--------------------------------------------------
    50 
    73 
    51 	/**
    74 	/**
    52 	 * The destructor of the eapol_wlan_state_c class does nothing special.
    75 	 * The destructor of the eapol_wlan_state_c class does nothing special.
    53 	 */
    76 	 */
    54 	EAP_FUNC_IMPORT virtual ~eapol_wlan_state_c();
    77 	EAP_FUNC_VISIBILITY_EAPOL_WLAN_STATE_H virtual ~eapol_wlan_state_c();
    55 
    78 
    56 	/**
    79 	/**
    57 	 * The constructor of the eapol_wlan_state_c class does nothing special.
    80 	 * The constructor of the eapol_wlan_state_c class does nothing special.
    58 	 */
    81 	 */
    59 	EAP_FUNC_IMPORT eapol_wlan_state_c(
    82 	EAP_FUNC_VISIBILITY_EAPOL_WLAN_STATE_H eapol_wlan_state_c(
    60 		abs_eap_am_tools_c * const tools);
    83 		abs_eap_am_tools_c * const tools);
    61 
    84 
    62 	/**
    85 	/**
    63 	 * The get_is_valid() function returns the status of the object.
    86 	 * The get_is_valid() function returns the status of the object.
    64 	 * @return True indicates the object is initialized.
    87 	 * @return True indicates the object is initialized.
    65 	 */
    88 	 */
    66 	EAP_FUNC_IMPORT bool get_is_valid() const;
    89 	EAP_FUNC_VISIBILITY_EAPOL_WLAN_STATE_H bool get_is_valid() const;
    67 
    90 
    68 }; // class eapol_wlan_state_c
    91 }; // class eapol_wlan_state_c
    69 
    92 
    70 
    93 
    71 #endif //#if !defined(_EAPOL_WLAN_STATE_H_)
    94 #endif //#if !defined(_EAPOL_WLAN_STATE_H_)