eapol/eapol_framework/eapol_common/type/gsmsim/include/eap_gsmsim_state_notification.h
changeset 49 43351a4f2da3
parent 26 9abfd4f00d37
--- a/eapol/eapol_framework/eapol_common/type/gsmsim/include/eap_gsmsim_state_notification.h	Fri Sep 03 09:22:44 2010 +0300
+++ b/eapol/eapol_framework/eapol_common/type/gsmsim/include/eap_gsmsim_state_notification.h	Thu Sep 16 13:07:04 2010 +0300
@@ -24,13 +24,34 @@
 
 #include "eap_variable_data.h"
 #include "eap_am_export.h"
+// Start: added by script change_export_macros.sh.
+#if defined(EAP_NO_EXPORT_EAP_GSMSIM_STATE_NOTIFICATION_H)
+	#define EAP_CLASS_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H EAP_NONSHARABLE 
+	#define EAP_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H 
+	#define EAP_C_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H 
+	#define EAP_FUNC_EXPORT_EAP_GSMSIM_STATE_NOTIFICATION_H 
+	#define EAP_C_FUNC_EXPORT_EAP_GSMSIM_STATE_NOTIFICATION_H 
+#elif defined(EAP_EXPORT_EAP_GSMSIM_STATE_NOTIFICATION_H)
+	#define EAP_CLASS_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H EAP_EXPORT 
+	#define EAP_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H EAP_FUNC_EXPORT 
+	#define EAP_C_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H EAP_C_FUNC_EXPORT 
+	#define EAP_FUNC_EXPORT_EAP_GSMSIM_STATE_NOTIFICATION_H EAP_FUNC_EXPORT 
+	#define EAP_C_FUNC_EXPORT_EAP_GSMSIM_STATE_NOTIFICATION_H EAP_C_FUNC_EXPORT 
+#else
+	#define EAP_CLASS_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H EAP_IMPORT 
+	#define EAP_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H EAP_FUNC_IMPORT 
+	#define EAP_C_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H EAP_C_FUNC_IMPORT 
+	#define EAP_FUNC_EXPORT_EAP_GSMSIM_STATE_NOTIFICATION_H 
+	#define EAP_C_FUNC_EXPORT_EAP_GSMSIM_STATE_NOTIFICATION_H 
+#endif
+// End: added by script change_export_macros.sh.
 #include "eap_protocol_layer.h"
 #include "abs_eap_state_notification.h"
 
 
 /// A eap_gsmsim_state_notification_c class.
 /// This is used for debugging and protocol testing.
-class EAP_EXPORT eap_gsmsim_state_notification_c
+class EAP_CLASS_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H eap_gsmsim_state_notification_c
 : public abs_eap_state_notification_c
 {
 private:
@@ -58,7 +79,7 @@
 	
 	eap_boolean_e m_allow_send_eap_success;
 
-	EAP_FUNC_IMPORT eap_const_string get_state_string(const u32_t state) const;
+	EAP_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H eap_const_string get_state_string(const u32_t state) const;
 
 	//--------------------------------------------------
 protected:
@@ -71,12 +92,12 @@
 	/**
 	 * The destructor of the eap_gsmsim_state_notification_c class does nothing special.
 	 */
-	EAP_FUNC_IMPORT virtual ~eap_gsmsim_state_notification_c();
+	EAP_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H virtual ~eap_gsmsim_state_notification_c();
 
 	/**
 	 * The constructor of the eap_gsmsim_state_notification_c class does nothing special.
 	 */
-	EAP_FUNC_IMPORT eap_gsmsim_state_notification_c(
+	EAP_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H eap_gsmsim_state_notification_c(
 		abs_eap_am_tools_c * const tools,
 		const eap_am_network_id_c * const send_network_id,
 		eap_boolean_e is_client,
@@ -88,37 +109,37 @@
 		eap_boolean_e allow_send_eap_success);
 
 	// This is commented in abs_eap_state_notification_c::get_send_network_id().
-	EAP_FUNC_IMPORT const eap_am_network_id_c * const get_send_network_id() const;
+	EAP_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H const eap_am_network_id_c * const get_send_network_id() const;
 
 	// This is commented in abs_eap_state_notification_c::get_protocol_layer().
-	EAP_FUNC_IMPORT const eap_protocol_layer_e get_protocol_layer() const;
+	EAP_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H const eap_protocol_layer_e get_protocol_layer() const;
 
 	// This is commented in abs_eap_state_notification_c::get_protocol().
-	EAP_FUNC_IMPORT const u32_t get_protocol() const;
+	EAP_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H const u32_t get_protocol() const;
 
 	// This is commented in abs_eap_state_notification_c::get_previous_state().
-	EAP_FUNC_IMPORT const u32_t get_previous_state() const;
+	EAP_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H const u32_t get_previous_state() const;
 
 	// This is commented in abs_eap_state_notification_c::get_previous_state_string().
-	EAP_FUNC_IMPORT eap_const_string get_previous_state_string() const;
+	EAP_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H eap_const_string get_previous_state_string() const;
 
 	// This is commented in abs_eap_state_notification_c::get_current_state().
-	EAP_FUNC_IMPORT const u32_t get_current_state() const;
+	EAP_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H const u32_t get_current_state() const;
 
 	// This is commented in abs_eap_state_notification_c::get_current_state_string().
-	EAP_FUNC_IMPORT eap_const_string get_current_state_string() const;
+	EAP_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H eap_const_string get_current_state_string() const;
 
 	// This is commented in abs_eap_state_notification_c::get_is_client().
-	EAP_FUNC_IMPORT const eap_boolean_e get_is_client() const;
+	EAP_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H const eap_boolean_e get_is_client() const;
 
 	// This is commented in abs_eap_state_notification_c::get_eap_identifier().
-	EAP_FUNC_IMPORT const u8_t get_eap_identifier() const;
+	EAP_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H const u8_t get_eap_identifier() const;
 
 	// This is commented in abs_eap_state_notification_c::get_allow_send_eap_success().
-	EAP_FUNC_IMPORT eap_boolean_e get_allow_send_eap_success() const;
+	EAP_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H eap_boolean_e get_allow_send_eap_success() const;
 
 	// This is commented in abs_eap_state_notification_c::set_notification_string().
-	EAP_FUNC_IMPORT const eap_status_e set_notification_string(
+	EAP_FUNC_VISIBILITY_EAP_GSMSIM_STATE_NOTIFICATION_H const eap_status_e set_notification_string(
 		const eap_variable_data_c * const notification_string,
 		const eap_boolean_e needs_confirmation_from_user);