eapol/eapol_framework/eapol_common/type/simple_config/simple_config/include/simple_config_completion.h
--- a/eapol/eapol_framework/eapol_common/type/simple_config/simple_config/include/simple_config_completion.h Fri Sep 03 09:22:44 2010 +0300
+++ b/eapol/eapol_framework/eapol_common/type/simple_config/simple_config/include/simple_config_completion.h Thu Sep 16 13:07:04 2010 +0300
@@ -26,6 +26,29 @@
#include "eap_array.h"
//#include "simple_config_record_message.h"
#include "abs_simple_config_message_hash.h"
+#include "eap_am_export.h"
+// Start: added by script change_export_macros.sh.
+#if defined(EAP_NO_EXPORT_SIMPLE_CONFIG_COMPLETION_H)
+ #define EAP_CLASS_VISIBILITY_SIMPLE_CONFIG_COMPLETION_H EAP_NONSHARABLE
+ #define EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_COMPLETION_H
+ #define EAP_C_FUNC_VISIBILITY_SIMPLE_CONFIG_COMPLETION_H
+ #define EAP_FUNC_EXPORT_SIMPLE_CONFIG_COMPLETION_H
+ #define EAP_C_FUNC_EXPORT_SIMPLE_CONFIG_COMPLETION_H
+#elif defined(EAP_EXPORT_SIMPLE_CONFIG_COMPLETION_H)
+ #define EAP_CLASS_VISIBILITY_SIMPLE_CONFIG_COMPLETION_H EAP_EXPORT
+ #define EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_COMPLETION_H EAP_FUNC_EXPORT
+ #define EAP_C_FUNC_VISIBILITY_SIMPLE_CONFIG_COMPLETION_H EAP_C_FUNC_EXPORT
+ #define EAP_FUNC_EXPORT_SIMPLE_CONFIG_COMPLETION_H EAP_FUNC_EXPORT
+ #define EAP_C_FUNC_EXPORT_SIMPLE_CONFIG_COMPLETION_H EAP_C_FUNC_EXPORT
+#else
+ #define EAP_CLASS_VISIBILITY_SIMPLE_CONFIG_COMPLETION_H EAP_IMPORT
+ #define EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_COMPLETION_H EAP_FUNC_IMPORT
+ #define EAP_C_FUNC_VISIBILITY_SIMPLE_CONFIG_COMPLETION_H EAP_C_FUNC_IMPORT
+ #define EAP_FUNC_EXPORT_SIMPLE_CONFIG_COMPLETION_H
+ #define EAP_C_FUNC_EXPORT_SIMPLE_CONFIG_COMPLETION_H
+#endif
+// End: added by script change_export_macros.sh.
+
/** @file */
@@ -42,7 +65,7 @@
/// This class defines one SIMPLE_CONFIG completion action.
-class EAP_EXPORT simple_config_completion_c
+class EAP_CLASS_VISIBILITY_SIMPLE_CONFIG_COMPLETION_H simple_config_completion_c
{
private:
//--------------------------------------------------
@@ -60,7 +83,7 @@
* The set_is_valid() function sets the state of the object valid.
* The creator of this object calls this function after it is initialized.
*/
- EAP_FUNC_IMPORT void set_is_valid();
+ EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_COMPLETION_H void set_is_valid();
//--------------------------------------------------
protected:
@@ -73,12 +96,12 @@
/**
* Destructor does nothing special.
*/
- EAP_FUNC_IMPORT virtual ~simple_config_completion_c();
+ EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_COMPLETION_H virtual ~simple_config_completion_c();
/**
* Constructor initializes object.
*/
- EAP_FUNC_IMPORT simple_config_completion_c(
+ EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_COMPLETION_H simple_config_completion_c(
abs_eap_am_tools_c * const tools,
simple_config_completion_action_e completion_action);
@@ -87,22 +110,22 @@
* If object initialization fails this function must return false.
* @return This function returns the validity of this object.
*/
- EAP_FUNC_IMPORT bool get_is_valid();
+ EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_COMPLETION_H bool get_is_valid();
/**
* This function sets the completion action type.
*/
- EAP_FUNC_IMPORT void set_completion_action(simple_config_completion_action_e completion_action);
+ EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_COMPLETION_H void set_completion_action(simple_config_completion_action_e completion_action);
/**
* This function gets the completion action type.
*/
- EAP_FUNC_IMPORT simple_config_completion_action_e get_completion_action() const;
+ EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_COMPLETION_H simple_config_completion_action_e get_completion_action() const;
/**
* This function gets the debug string of the completion action type.
*/
- EAP_FUNC_IMPORT eap_const_string get_completion_action_string() const;
+ EAP_FUNC_VISIBILITY_SIMPLE_CONFIG_COMPLETION_H eap_const_string get_completion_action_string() const;
//
//--------------------------------------------------