eapol/eapol_framework/eapol_common/type/tls_peap/tls/include/tls_base_application.h
--- a/eapol/eapol_framework/eapol_common/type/tls_peap/tls/include/tls_base_application.h Fri Sep 17 08:30:11 2010 +0300
+++ b/eapol/eapol_framework/eapol_common/type/tls_peap/tls/include/tls_base_application.h Mon Oct 04 00:19:54 2010 +0300
@@ -25,6 +25,29 @@
#include "tls_peap_types.h"
#include "eap_header.h"
#include "eap_protocol_layer.h"
+#include "eap_am_export.h"
+// Start: added by script change_export_macros.sh.
+#if defined(EAP_NO_EXPORT_TLS_BASE_APPLICATION_H)
+ #define EAP_CLASS_VISIBILITY_TLS_BASE_APPLICATION_H EAP_NONSHARABLE
+ #define EAP_FUNC_VISIBILITY_TLS_BASE_APPLICATION_H
+ #define EAP_C_FUNC_VISIBILITY_TLS_BASE_APPLICATION_H
+ #define EAP_FUNC_EXPORT_TLS_BASE_APPLICATION_H
+ #define EAP_C_FUNC_EXPORT_TLS_BASE_APPLICATION_H
+#elif defined(EAP_EXPORT_TLS_BASE_APPLICATION_H)
+ #define EAP_CLASS_VISIBILITY_TLS_BASE_APPLICATION_H EAP_EXPORT
+ #define EAP_FUNC_VISIBILITY_TLS_BASE_APPLICATION_H EAP_FUNC_EXPORT
+ #define EAP_C_FUNC_VISIBILITY_TLS_BASE_APPLICATION_H EAP_C_FUNC_EXPORT
+ #define EAP_FUNC_EXPORT_TLS_BASE_APPLICATION_H EAP_FUNC_EXPORT
+ #define EAP_C_FUNC_EXPORT_TLS_BASE_APPLICATION_H EAP_C_FUNC_EXPORT
+#else
+ #define EAP_CLASS_VISIBILITY_TLS_BASE_APPLICATION_H EAP_IMPORT
+ #define EAP_FUNC_VISIBILITY_TLS_BASE_APPLICATION_H EAP_FUNC_IMPORT
+ #define EAP_C_FUNC_VISIBILITY_TLS_BASE_APPLICATION_H EAP_C_FUNC_IMPORT
+ #define EAP_FUNC_EXPORT_TLS_BASE_APPLICATION_H
+ #define EAP_C_FUNC_EXPORT_TLS_BASE_APPLICATION_H
+#endif
+// End: added by script change_export_macros.sh.
+
class abs_tls_base_application_c;
class abs_eap_am_tools_c;
@@ -37,7 +60,7 @@
/// The tls_base_application_c class declares pure virtual functions
/// a user class of TLS-application class could call.
-class EAP_EXPORT tls_base_application_c
+class EAP_CLASS_VISIBILITY_TLS_BASE_APPLICATION_H tls_base_application_c
{
private:
//--------------------------------------------------
@@ -59,7 +82,7 @@
/**
* Destructor does nothing special.
*/
- EAP_FUNC_IMPORT virtual ~tls_base_application_c();
+ EAP_FUNC_VISIBILITY_TLS_BASE_APPLICATION_H virtual ~tls_base_application_c();
/**
* Application partner is object below the tls_base_application_c object.