22 #if !defined(_EAP_NETWORK_ID_SELECTOR_H_) |
22 #if !defined(_EAP_NETWORK_ID_SELECTOR_H_) |
23 #define _EAP_NETWORK_ID_SELECTOR_H_ |
23 #define _EAP_NETWORK_ID_SELECTOR_H_ |
24 |
24 |
25 #include "eap_tools.h" |
25 #include "eap_tools.h" |
26 #include "eap_am_export.h" |
26 #include "eap_am_export.h" |
|
27 // Start: added by script change_export_macros.sh. |
|
28 #if defined(EAP_NO_EXPORT_EAP_NETWORK_ID_SELECTOR_H) |
|
29 #define EAP_CLASS_VISIBILITY_EAP_NETWORK_ID_SELECTOR_H EAP_NONSHARABLE |
|
30 #define EAP_FUNC_VISIBILITY_EAP_NETWORK_ID_SELECTOR_H |
|
31 #define EAP_C_FUNC_VISIBILITY_EAP_NETWORK_ID_SELECTOR_H |
|
32 #define EAP_FUNC_EXPORT_EAP_NETWORK_ID_SELECTOR_H |
|
33 #define EAP_C_FUNC_EXPORT_EAP_NETWORK_ID_SELECTOR_H |
|
34 #elif defined(EAP_EXPORT_EAP_NETWORK_ID_SELECTOR_H) |
|
35 #define EAP_CLASS_VISIBILITY_EAP_NETWORK_ID_SELECTOR_H EAP_EXPORT |
|
36 #define EAP_FUNC_VISIBILITY_EAP_NETWORK_ID_SELECTOR_H EAP_FUNC_EXPORT |
|
37 #define EAP_C_FUNC_VISIBILITY_EAP_NETWORK_ID_SELECTOR_H EAP_C_FUNC_EXPORT |
|
38 #define EAP_FUNC_EXPORT_EAP_NETWORK_ID_SELECTOR_H EAP_FUNC_EXPORT |
|
39 #define EAP_C_FUNC_EXPORT_EAP_NETWORK_ID_SELECTOR_H EAP_C_FUNC_EXPORT |
|
40 #else |
|
41 #define EAP_CLASS_VISIBILITY_EAP_NETWORK_ID_SELECTOR_H EAP_IMPORT |
|
42 #define EAP_FUNC_VISIBILITY_EAP_NETWORK_ID_SELECTOR_H EAP_FUNC_IMPORT |
|
43 #define EAP_C_FUNC_VISIBILITY_EAP_NETWORK_ID_SELECTOR_H EAP_C_FUNC_IMPORT |
|
44 #define EAP_FUNC_EXPORT_EAP_NETWORK_ID_SELECTOR_H |
|
45 #define EAP_C_FUNC_EXPORT_EAP_NETWORK_ID_SELECTOR_H |
|
46 #endif |
|
47 // End: added by script change_export_macros.sh. |
27 #include "eap_variable_data.h" |
48 #include "eap_variable_data.h" |
28 #include "eap_am_network_id.h" |
49 #include "eap_am_network_id.h" |
29 |
50 |
30 |
51 |
31 //-------------------------------------------------- |
52 //-------------------------------------------------- |
32 |
53 |
33 class EAP_EXPORT eap_network_id_selector_c |
54 class EAP_CLASS_VISIBILITY_EAP_NETWORK_ID_SELECTOR_H eap_network_id_selector_c |
34 : public eap_variable_data_c |
55 : public eap_variable_data_c |
35 { |
56 { |
36 private: |
57 private: |
37 |
58 |
38 abs_eap_am_tools_c * const m_am_tools; |
59 abs_eap_am_tools_c * const m_am_tools; |
39 |
60 |
40 public: |
61 public: |
41 |
62 |
42 EAP_FUNC_IMPORT virtual ~eap_network_id_selector_c(); |
63 EAP_FUNC_VISIBILITY_EAP_NETWORK_ID_SELECTOR_H virtual ~eap_network_id_selector_c(); |
43 |
64 |
44 EAP_FUNC_IMPORT eap_network_id_selector_c( |
65 EAP_FUNC_VISIBILITY_EAP_NETWORK_ID_SELECTOR_H eap_network_id_selector_c( |
45 abs_eap_am_tools_c * const tools); |
66 abs_eap_am_tools_c * const tools); |
46 |
67 |
47 EAP_FUNC_IMPORT eap_network_id_selector_c( |
68 EAP_FUNC_VISIBILITY_EAP_NETWORK_ID_SELECTOR_H eap_network_id_selector_c( |
48 abs_eap_am_tools_c * const tools, |
69 abs_eap_am_tools_c * const tools, |
49 const eap_am_network_id_c * const network_id); |
70 const eap_am_network_id_c * const network_id); |
50 |
71 |
51 EAP_FUNC_IMPORT eap_status_e set_selector( |
72 EAP_FUNC_VISIBILITY_EAP_NETWORK_ID_SELECTOR_H eap_status_e set_selector( |
52 const eap_am_network_id_c * const network_id); |
73 const eap_am_network_id_c * const network_id); |
53 |
74 |
54 EAP_FUNC_IMPORT eap_network_id_selector_c( |
75 EAP_FUNC_VISIBILITY_EAP_NETWORK_ID_SELECTOR_H eap_network_id_selector_c( |
55 abs_eap_am_tools_c * const tools, |
76 abs_eap_am_tools_c * const tools, |
56 const eap_network_id_selector_c * const selector); |
77 const eap_network_id_selector_c * const selector); |
57 |
78 |
58 |
79 |
59 // |
80 // |
60 EAP_FUNC_IMPORT eap_network_id_selector_c * copy() const; |
81 EAP_FUNC_VISIBILITY_EAP_NETWORK_ID_SELECTOR_H eap_network_id_selector_c * copy() const; |
61 |
82 |
62 }; |
83 }; |
63 |
84 |
64 |
85 |
65 #endif //#if !defined(_EAP_NETWORK_ID_SELECTOR_H_) |
86 #endif //#if !defined(_EAP_NETWORK_ID_SELECTOR_H_) |