eapol/eapol_framework/eapol_symbian/am/include/EapSimInterface.h
changeset 49 43351a4f2da3
parent 26 9abfd4f00d37
equal deleted inserted replaced
47:712b4ffd76bb 49:43351a4f2da3
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 9.1.2 %
    19 * %version: 9.1.4 %
    20 */
    20 */
    21 
    21 
    22 #ifndef _EAPSIMINTERFACE_H_
    22 #ifndef _EAPSIMINTERFACE_H_
    23 #define _EAPSIMINTERFACE_H_
    23 #define _EAPSIMINTERFACE_H_
    24 
    24 
    25 // INCLUDES
    25 // INCLUDES
    26 #include <e32base.h>
    26 #include <e32base.h>
       
    27 #include "eap_am_export.h"
       
    28 // Start: added by script change_export_macros.sh.
       
    29 #if defined(EAP_NO_EXPORT_EAPSIMINTERFACE_H)
       
    30 	#define EAP_CLASS_VISIBILITY_EAPSIMINTERFACE_H EAP_NONSHARABLE 
       
    31 	#define EAP_FUNC_VISIBILITY_EAPSIMINTERFACE_H 
       
    32 	#define EAP_C_FUNC_VISIBILITY_EAPSIMINTERFACE_H 
       
    33 	#define EAP_FUNC_EXPORT_EAPSIMINTERFACE_H 
       
    34 	#define EAP_C_FUNC_EXPORT_EAPSIMINTERFACE_H 
       
    35 #elif defined(EAP_EXPORT_EAPSIMINTERFACE_H)
       
    36 	#define EAP_CLASS_VISIBILITY_EAPSIMINTERFACE_H EAP_EXPORT 
       
    37 	#define EAP_FUNC_VISIBILITY_EAPSIMINTERFACE_H EAP_FUNC_EXPORT 
       
    38 	#define EAP_C_FUNC_VISIBILITY_EAPSIMINTERFACE_H EAP_C_FUNC_EXPORT 
       
    39 	#define EAP_FUNC_EXPORT_EAPSIMINTERFACE_H EAP_FUNC_EXPORT 
       
    40 	#define EAP_C_FUNC_EXPORT_EAPSIMINTERFACE_H EAP_C_FUNC_EXPORT 
       
    41 #else
       
    42 	#define EAP_CLASS_VISIBILITY_EAPSIMINTERFACE_H EAP_IMPORT 
       
    43 	#define EAP_FUNC_VISIBILITY_EAPSIMINTERFACE_H EAP_FUNC_IMPORT 
       
    44 	#define EAP_C_FUNC_VISIBILITY_EAPSIMINTERFACE_H EAP_C_FUNC_IMPORT 
       
    45 	#define EAP_FUNC_EXPORT_EAPSIMINTERFACE_H 
       
    46 	#define EAP_C_FUNC_EXPORT_EAPSIMINTERFACE_H 
       
    47 #endif
       
    48 // End: added by script change_export_macros.sh.
    27 #include "eap_tools.h"
    49 #include "eap_tools.h"
    28 #include "eap_am_type_gsmsim_symbian.h"
    50 #include "eap_am_type_gsmsim_symbian.h"
    29 
    51 
    30 #include <etelmm.h>
    52 #include <etelmm.h>
    31 #include <rmmcustomapi.h>
    53 #include <rmmcustomapi.h>
    32 
    54 
    33 // CLASS DECLARATION
    55 // CLASS DECLARATION
    34 /**
    56 /**
    35 * Class (active object) that handles the communications with the SIM.
    57 * Class (active object) that handles the communications with the SIM.
    36 */
    58 */
    37 class CEapSimIsaInterface 
    59 class EAP_CLASS_VISIBILITY_EAPSIMINTERFACE_H CEapSimIsaInterface 
    38 : public CActive
    60 : public CActive
    39 {
    61 {
    40 public:
    62 public:
    41 
    63 
    42 	// For differentiating the query type.
    64 	// For differentiating the query type.
    86 private:
   108 private:
    87 	
   109 	
    88 	// Creates the MMETel connection and loads the phone module.
   110 	// Creates the MMETel connection and loads the phone module.
    89 	TInt CreateMMETelConnectionL();
   111 	TInt CreateMMETelConnectionL();
    90 
   112 
       
   113 	void DisconnectMMETel();
       
   114 
    91 private:
   115 private:
    92 
   116 
    93 	eap_am_type_gsmsim_symbian_c * const iParent;
   117 	eap_am_type_gsmsim_symbian_c * const iParent;
    94 	
   118 	
    95 	abs_eap_am_tools_c * const m_am_tools;
   119 	abs_eap_am_tools_c * const m_am_tools;