eapol/eapol_framework/eapol_symbian/am/include/eap_am_semaphore_symbian.h
changeset 49 43351a4f2da3
parent 26 9abfd4f00d37
--- a/eapol/eapol_framework/eapol_symbian/am/include/eap_am_semaphore_symbian.h	Fri Sep 03 09:22:44 2010 +0300
+++ b/eapol/eapol_framework/eapol_symbian/am/include/eap_am_semaphore_symbian.h	Thu Sep 16 13:07:04 2010 +0300
@@ -26,10 +26,31 @@
 #include "eap_am_types.h"
 #include "eap_variable_data.h"
 #include "eap_am_export.h"
+// Start: added by script change_export_macros.sh.
+#if defined(EAP_NO_EXPORT_EAP_AM_SEMAPHORE_SYMBIAN_H)
+	#define EAP_CLASS_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H EAP_NONSHARABLE 
+	#define EAP_FUNC_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H 
+	#define EAP_C_FUNC_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H 
+	#define EAP_FUNC_EXPORT_EAP_AM_SEMAPHORE_SYMBIAN_H 
+	#define EAP_C_FUNC_EXPORT_EAP_AM_SEMAPHORE_SYMBIAN_H 
+#elif defined(EAP_EXPORT_EAP_AM_SEMAPHORE_SYMBIAN_H)
+	#define EAP_CLASS_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H EAP_EXPORT 
+	#define EAP_FUNC_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H EAP_FUNC_EXPORT 
+	#define EAP_C_FUNC_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H EAP_C_FUNC_EXPORT 
+	#define EAP_FUNC_EXPORT_EAP_AM_SEMAPHORE_SYMBIAN_H EAP_FUNC_EXPORT 
+	#define EAP_C_FUNC_EXPORT_EAP_AM_SEMAPHORE_SYMBIAN_H EAP_C_FUNC_EXPORT 
+#else
+	#define EAP_CLASS_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H EAP_IMPORT 
+	#define EAP_FUNC_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H EAP_FUNC_IMPORT 
+	#define EAP_C_FUNC_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H EAP_C_FUNC_IMPORT 
+	#define EAP_FUNC_EXPORT_EAP_AM_SEMAPHORE_SYMBIAN_H 
+	#define EAP_C_FUNC_EXPORT_EAP_AM_SEMAPHORE_SYMBIAN_H 
+#endif
+// End: added by script change_export_macros.sh.
 #include <abs_eap_am_semaphore.h>
 
 // CLASS DECLARATION
-class EAP_EXPORT eap_am_semaphore_symbian_c
+class EAP_CLASS_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H eap_am_semaphore_symbian_c
 : public abs_eap_am_semaphore_c
 , public eap_am_semaphore_base_c
 {
@@ -51,17 +72,17 @@
 
 public:
 
-	EAP_FUNC_IMPORT virtual ~eap_am_semaphore_symbian_c();
+	EAP_FUNC_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H virtual ~eap_am_semaphore_symbian_c();
 
-	EAP_FUNC_IMPORT eap_am_semaphore_symbian_c(	const i32_t initial_count,const i32_t maximum_count);
+	EAP_FUNC_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H eap_am_semaphore_symbian_c(	const i32_t initial_count,const i32_t maximum_count);
 
-	EAP_FUNC_IMPORT eap_am_semaphore_symbian_c(const eap_am_semaphore_symbian_c * const owner);
+	EAP_FUNC_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H eap_am_semaphore_symbian_c(const eap_am_semaphore_symbian_c * const owner);
 
 	/// Function returns pointer to Symbian semaphore.
-	EAP_FUNC_IMPORT const RSemaphore * get_semaphore() const;
+	EAP_FUNC_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H const RSemaphore * get_semaphore() const;
 
 	/// Function returns pointer to owner thread of the semaphore.
-	EAP_FUNC_IMPORT const RThread * get_owner_thread() const;
+	EAP_FUNC_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H const RThread * get_owner_thread() const;
 
 	
 	// - - - - - - - - - - - - - - - - - - - - - - - -
@@ -71,24 +92,24 @@
 	 * This function reserves the semaphore. Thread will block until the semaphore is released
 	 * by other owner of the semaphore.
 	 */
-	EAP_FUNC_IMPORT eap_status_e semaphore_reserve();
+	EAP_FUNC_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H eap_status_e semaphore_reserve();
 
 	/**
 	 * This function releases the semaphore. Other blocking thread will continue execution.
 	 */
-	EAP_FUNC_IMPORT eap_status_e semaphore_release();
+	EAP_FUNC_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H eap_status_e semaphore_release();
 
 	/**
 	 * The semaphore handle must be dublicated in Symbian operating system for each thread.
 	 */
-	EAP_FUNC_IMPORT  abs_eap_am_semaphore_c * dublicate_semaphore();
+	EAP_FUNC_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H  abs_eap_am_semaphore_c * dublicate_semaphore();
 
-	EAP_FUNC_IMPORT u32_t get_count() const;
+	EAP_FUNC_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H u32_t get_count() const;
 
 	/**
 	 * Returns the validity of the semaphore.
 	 */
-	EAP_FUNC_IMPORT bool get_is_valid() const;
+	EAP_FUNC_VISIBILITY_EAP_AM_SEMAPHORE_SYMBIAN_H bool get_is_valid() const;
 
 	// - - - - - - - - - - - - - - - - - - - - - - - -
 };