--- a/eapol/eapol_framework/eapol_symbian/am/include/eap_am_file_input_symbian.h Fri Sep 03 09:22:44 2010 +0300
+++ b/eapol/eapol_framework/eapol_symbian/am/include/eap_am_file_input_symbian.h Thu Sep 16 13:07:04 2010 +0300
@@ -28,6 +28,27 @@
#include "eap_am_tools.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_FILE_INPUT_SYMBIAN_H)
+ #define EAP_CLASS_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H EAP_NONSHARABLE
+ #define EAP_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H
+ #define EAP_C_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H
+ #define EAP_FUNC_EXPORT_EAP_AM_FILE_INPUT_SYMBIAN_H
+ #define EAP_C_FUNC_EXPORT_EAP_AM_FILE_INPUT_SYMBIAN_H
+#elif defined(EAP_EXPORT_EAP_AM_FILE_INPUT_SYMBIAN_H)
+ #define EAP_CLASS_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H EAP_EXPORT
+ #define EAP_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H EAP_FUNC_EXPORT
+ #define EAP_C_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H EAP_C_FUNC_EXPORT
+ #define EAP_FUNC_EXPORT_EAP_AM_FILE_INPUT_SYMBIAN_H EAP_FUNC_EXPORT
+ #define EAP_C_FUNC_EXPORT_EAP_AM_FILE_INPUT_SYMBIAN_H EAP_C_FUNC_EXPORT
+#else
+ #define EAP_CLASS_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H EAP_IMPORT
+ #define EAP_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H EAP_FUNC_IMPORT
+ #define EAP_C_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H EAP_C_FUNC_IMPORT
+ #define EAP_FUNC_EXPORT_EAP_AM_FILE_INPUT_SYMBIAN_H
+ #define EAP_C_FUNC_EXPORT_EAP_AM_FILE_INPUT_SYMBIAN_H
+#endif
+// End: added by script change_export_macros.sh.
#include "abs_eap_am_file_input.h"
#include <f32file.h>
@@ -38,7 +59,7 @@
/// This is interface to EAP file input.
/** The EAP file input is used in configuration file read operations.
*/
-class EAP_EXPORT eap_am_file_input_symbian_c
+class EAP_CLASS_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H eap_am_file_input_symbian_c
: public abs_eap_am_file_input_c
{
@@ -83,12 +104,12 @@
/**
* The destructor of the eap_am_file_input_symbian_c class does nothing special.
*/
- EAP_FUNC_IMPORT virtual ~eap_am_file_input_symbian_c();
+ EAP_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H virtual ~eap_am_file_input_symbian_c();
/**
* The constructor of the eap_am_file_input_symbian_c does nothing special.
*/
- EAP_FUNC_IMPORT eap_am_file_input_symbian_c(
+ EAP_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H eap_am_file_input_symbian_c(
abs_eap_am_tools_c * const tools);
/**
@@ -97,7 +118,7 @@
* in other cases some error status.
* @param file_name is the pathname of the tested file.
*/
- EAP_FUNC_IMPORT eap_status_e file_exists(
+ EAP_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H eap_status_e file_exists(
const eap_variable_data_c * const file_name);
/**
@@ -106,7 +127,7 @@
* in other cases some error status.
* @param file_nameis the pathname of the deleted file.
*/
- EAP_FUNC_IMPORT eap_status_e file_delete(
+ EAP_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H eap_status_e file_delete(
const eap_variable_data_c * const file_name);
/**
@@ -114,7 +135,7 @@
* @param target_file_name is the pathname of the target file.
* @param source_file_name is the pathname of the source file.
*/
- EAP_FUNC_IMPORT eap_status_e file_copy(
+ EAP_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H eap_status_e file_copy(
const eap_variable_data_c * const target_file_name,
const eap_variable_data_c * const source_file_name);
@@ -123,45 +144,45 @@
* @param file_name is the pathname of the opened file.
* @param dir is the I/O direction (eap_file_io_direction_read or eap_file_io_direction_write).
*/
- EAP_FUNC_IMPORT eap_status_e file_open(
+ EAP_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H eap_status_e file_open(
const eap_variable_data_c * const file_name,
const eap_file_io_direction_e dir);
/**
* This function closes the file.
*/
- EAP_FUNC_IMPORT eap_status_e file_close();
+ EAP_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H eap_status_e file_close();
/**
* This function returns size of a file.
*/
- EAP_FUNC_IMPORT u32_t file_size();
+ EAP_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H u32_t file_size();
/**
* This function reads data from file.
* Maximum size read is the buffer size.
* @param buffer must be initialised to reguired size.
*/
- EAP_FUNC_IMPORT eap_status_e file_read(eap_variable_data_c * const buffer);
+ EAP_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H eap_status_e file_read(eap_variable_data_c * const buffer);
/**
* This function write data to a file.
* Maximum size write is the buffer size.
* @param buffer includes the written data.
*/
- EAP_FUNC_IMPORT eap_status_e file_write(const eap_variable_data_c * const buffer);
+ EAP_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H eap_status_e file_write(const eap_variable_data_c * const buffer);
/**
* This function reads line from file.
* @param The read line will be copied to line parameter.
*/
- EAP_FUNC_IMPORT eap_status_e file_read_line(eap_variable_data_c * const line);
+ EAP_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H eap_status_e file_read_line(eap_variable_data_c * const line);
/**
* This function reads word from file.
* @param The read word will be copied to word parameter.
*/
- EAP_FUNC_IMPORT eap_status_e file_read_word(eap_variable_data_c * const word);
+ EAP_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H eap_status_e file_read_word(eap_variable_data_c * const word);
/**
@@ -169,26 +190,26 @@
* 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_EAP_AM_FILE_INPUT_SYMBIAN_H bool get_is_valid();
/**
* This function opens directory of name directory_name.
* @param file_name is the pathname of the opened directory.
*/
- EAP_FUNC_IMPORT eap_status_e directory_open(
+ EAP_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H eap_status_e directory_open(
const eap_variable_data_c * const directory_name);
/**
* This function reads the files and directories from open directory.
* @param directory_list includes the stattus of each file and directory in open directory.
*/
- EAP_FUNC_IMPORT eap_status_e directory_read(
+ EAP_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H eap_status_e directory_read(
eap_array_c<abs_eap_file_stat_c> * const directory_list);
/**
* This function closes the directory.
*/
- EAP_FUNC_IMPORT eap_status_e directory_close();
+ EAP_FUNC_VISIBILITY_EAP_AM_FILE_INPUT_SYMBIAN_H eap_status_e directory_close();
}; // class eap_am_bloom_algorithm_c