eapol/eapol_framework/eapol_common/type/simple_config/simple_config/include/simple_config_credential.h
changeset 52 c23bdf5a328a
parent 33 938269283a16
--- a/eapol/eapol_framework/eapol_common/type/simple_config/simple_config/include/simple_config_credential.h	Fri Sep 17 08:30:11 2010 +0300
+++ b/eapol/eapol_framework/eapol_common/type/simple_config/simple_config/include/simple_config_credential.h	Mon Oct 04 00:19:54 2010 +0300
@@ -26,6 +26,29 @@
 #include "simple_config_attribute_type.h"
 #include "simple_config_types.h"
 #include "eap_array_algorithms.h"
+#include "eap_am_export.h"
+// Start: added by script change_export_macros.sh.
+#if defined(EAP_NO_EXPORT_SIMPLE_CONFIG_CREDENTIAL_H)
+	#define EAP_CLASS_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H EAP_NONSHARABLE 
+	#define EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H 
+	#define EAP_C_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H 
+	#define EAP_FUNC_EXPORT_SIMPLE_CONFIG_CREDENTIAL_H 
+	#define EAP_C_FUNC_EXPORT_SIMPLE_CONFIG_CREDENTIAL_H 
+#elif defined(EAP_EXPORT_SIMPLE_CONFIG_CREDENTIAL_H)
+	#define EAP_CLASS_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H EAP_EXPORT 
+	#define EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H EAP_FUNC_EXPORT 
+	#define EAP_C_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H EAP_C_FUNC_EXPORT 
+	#define EAP_FUNC_EXPORT_SIMPLE_CONFIG_CREDENTIAL_H EAP_FUNC_EXPORT 
+	#define EAP_C_FUNC_EXPORT_SIMPLE_CONFIG_CREDENTIAL_H EAP_C_FUNC_EXPORT 
+#else
+	#define EAP_CLASS_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H EAP_IMPORT 
+	#define EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H EAP_FUNC_IMPORT 
+	#define EAP_C_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H EAP_C_FUNC_IMPORT 
+	#define EAP_FUNC_EXPORT_SIMPLE_CONFIG_CREDENTIAL_H 
+	#define EAP_C_FUNC_EXPORT_SIMPLE_CONFIG_CREDENTIAL_H 
+#endif
+// End: added by script change_export_macros.sh.
+
 
 /** @file */
 
@@ -34,7 +57,7 @@
 
 
 /// This class defines Credential attributes for protected setup (previously known as simple config).
-class EAP_EXPORT simple_config_credential_c
+class EAP_CLASS_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H simple_config_credential_c
 {
 private:
 	//--------------------------------------------------
@@ -63,39 +86,39 @@
 	/**
 	 * The destructor of the simple_config_credential_c class does nothing.
 	 */
-	EAP_FUNC_IMPORT virtual ~simple_config_credential_c();
+	EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H virtual ~simple_config_credential_c();
 
 	/**
 	 * The constructor of the simple_config_credential_c class simply initializes the attributes.
 	 */
-	EAP_FUNC_IMPORT simple_config_credential_c(
+	EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H simple_config_credential_c(
 		abs_eap_am_tools_c * const tools);
 
-	EAP_FUNC_IMPORT void set_network_index(const u8_t index);
+	EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H void set_network_index(const u8_t index);
 
-	EAP_FUNC_IMPORT u8_t get_network_index() const;
+	EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H u8_t get_network_index() const;
 
-	EAP_FUNC_IMPORT eap_variable_data_c * get_SSID();
+	EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H eap_variable_data_c * get_SSID();
 
-	EAP_FUNC_IMPORT const eap_variable_data_c * get_SSID_const() const;
+	EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H const eap_variable_data_c * get_SSID_const() const;
 
-	EAP_FUNC_IMPORT simple_config_Authentication_Type_e get_Authentication_Type();
+	EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H simple_config_Authentication_Type_e get_Authentication_Type();
 
-	EAP_FUNC_IMPORT void set_Authentication_Type(const simple_config_Authentication_Type_e Authentication_Type);
+	EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H void set_Authentication_Type(const simple_config_Authentication_Type_e Authentication_Type);
 
-	EAP_FUNC_IMPORT simple_config_Encryption_Type_e get_Encryption_Type();
+	EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H simple_config_Encryption_Type_e get_Encryption_Type();
 
-	EAP_FUNC_IMPORT void set_Encryption_Type(const simple_config_Encryption_Type_e Encryption_Type);
+	EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H void set_Encryption_Type(const simple_config_Encryption_Type_e Encryption_Type);
 
-	EAP_FUNC_IMPORT eap_array_c<network_key_and_index_c> * get_network_keys();
+	EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H eap_array_c<network_key_and_index_c> * get_network_keys();
 
-	EAP_FUNC_IMPORT const eap_array_c<network_key_and_index_c> * get_network_keys_const() const;
+	EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H const eap_array_c<network_key_and_index_c> * get_network_keys_const() const;
 
-	EAP_FUNC_IMPORT eap_variable_data_c * get_MAC_address();
+	EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H eap_variable_data_c * get_MAC_address();
 
-	EAP_FUNC_IMPORT const eap_variable_data_c * get_MAC_address_const() const;
+	EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H const eap_variable_data_c * get_MAC_address_const() const;
 
-	EAP_FUNC_IMPORT bool get_is_valid();
+	EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_CREDENTIAL_H bool get_is_valid();
 
 	// 
 	//--------------------------------------------------