eapol/eapol_framework/eapol_symbian/am/common/file_io/symbian/eap_am_file_input_symbian.cpp
branchCompilerCompatibility
changeset 14 3f122ca50ab9
parent 2 1c7bc153c08e
equal deleted inserted replaced
13:5431fd16d0e9 14:3f122ca50ab9
   516 //----------------------------------------------------------------------------------------------------
   516 //----------------------------------------------------------------------------------------------------
   517 
   517 
   518 /**
   518 /**
   519  * This function reads word from file.
   519  * This function reads word from file.
   520  */
   520  */
   521 eap_status_e eap_am_file_input_symbian_c::file_read_word(eap_variable_data_c * const word)
   521 EAP_FUNC_EXPORT eap_status_e eap_am_file_input_symbian_c::file_read_word(eap_variable_data_c * const word)
   522 {
   522 {
   523 	if (word == 0
   523 	if (word == 0
   524 		|| word->get_is_valid() == false)
   524 		|| word->get_is_valid() == false)
   525 	{
   525 	{
   526 		EAP_TRACE_END(m_am_tools, TRACE_FLAGS_DEFAULT);
   526 		EAP_TRACE_END(m_am_tools, TRACE_FLAGS_DEFAULT);
   624 /**
   624 /**
   625  * Object must indicate it's validity.
   625  * Object must indicate it's validity.
   626  * If object initialization fails this function must return false.
   626  * If object initialization fails this function must return false.
   627  * @return This function returns the validity of this object.
   627  * @return This function returns the validity of this object.
   628  */
   628  */
   629 bool eap_am_file_input_symbian_c::get_is_valid()
   629 EAP_FUNC_EXPORT bool eap_am_file_input_symbian_c::get_is_valid()
   630 {
   630 {
   631 	return m_is_valid;
   631 	return m_is_valid;
   632 }
   632 }
   633 
   633 
   634 //----------------------------------------------------------------------------------------------------
   634 //----------------------------------------------------------------------------------------------------
   635 
   635 
   636 eap_status_e eap_am_file_input_symbian_c::directory_open(
   636 EAP_FUNC_EXPORT eap_status_e eap_am_file_input_symbian_c::directory_open(
   637 	const eap_variable_data_c * const /* directory_name */)
   637 	const eap_variable_data_c * const /* directory_name */)
   638 {
   638 {
   639 	return EAP_STATUS_RETURN(m_am_tools, eap_status_not_supported);
   639 	return EAP_STATUS_RETURN(m_am_tools, eap_status_not_supported);
   640 }
   640 }
   641 
   641 
   642 //----------------------------------------------------------------------------------------------------
   642 //----------------------------------------------------------------------------------------------------
   643 
   643 
   644 eap_status_e eap_am_file_input_symbian_c::directory_read(
   644 EAP_FUNC_EXPORT eap_status_e eap_am_file_input_symbian_c::directory_read(
   645 	eap_array_c<abs_eap_file_stat_c> * const /* directory_list */)
   645 	eap_array_c<abs_eap_file_stat_c> * const /* directory_list */)
   646 {
   646 {
   647 	return EAP_STATUS_RETURN(m_am_tools, eap_status_not_supported);
   647 	return EAP_STATUS_RETURN(m_am_tools, eap_status_not_supported);
   648 }
   648 }
   649 
   649 
   650 //----------------------------------------------------------------------------------------------------
   650 //----------------------------------------------------------------------------------------------------
   651 
   651 
   652 /**
   652 /**
   653  * This function closes the directory.
   653  * This function closes the directory.
   654  */
   654  */
   655 eap_status_e eap_am_file_input_symbian_c::directory_close()
   655 EAP_FUNC_EXPORT eap_status_e eap_am_file_input_symbian_c::directory_close()
   656 {
   656 {
   657 	return EAP_STATUS_RETURN(m_am_tools, eap_status_not_supported);
   657 	return EAP_STATUS_RETURN(m_am_tools, eap_status_not_supported);
   658 }
   658 }
   659 
   659 
   660 //----------------------------------------------------------------------------------------------------
   660 //----------------------------------------------------------------------------------------------------