eapol/eapol_framework/eapol_symbian/am/type/gsmsim/symbian/plugin/inc/EapSim.h
branchRCL_3
changeset 46 c74b3d9f6b9e
parent 45 bad0cc58d154
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 19 %
    19 * %version: 10.1.2 %
    20 */
    20 */
    21 
    21 
    22 #ifndef _EAPSIM_H_
    22 #ifndef _EAPSIM_H_
    23 #define _EAPSIM_H_
    23 #define _EAPSIM_H_
    24 
    24 
    25 // INCLUDES
    25 // INCLUDES
    26 #include <EapTypePlugin.h>
    26 #include <EapType.h>
    27 #include "eap_header.h"
    27 #include "eap_header.h"
    28 
    28 
    29 // FORWARD DECLARATIONS
    29 // FORWARD DECLARATIONS
    30 class eap_am_network_id_c;
    30 class eap_am_network_id_c;
    31 
    31 
    32 // CLASS DECLARATION
    32 // CLASS DECLARATION
    33 /**
    33 /**
    34 * Class that implements the generic EAP type interface. Implements EAP SIM protocol.
    34 * Class that implements the generic EAP type interface. Implements EAP SIM protocol.
    35 */
    35 */
    36 class CEapSim : public CEapTypePlugin
    36 class CEapSim : public CEapType
    37 {
    37 {
    38 public:		
    38 public:		
    39 
    39 
    40 	/**
    40 	/**
    41 	* Construction function. Called by ECom after the EAP SIM plugin has been loaded.
    41 	* Construction function. Called by ECom after the EAP SIM plugin has been loaded.
    85 									   const bool is_client_when_true,
    85 									   const bool is_client_when_true,
    86 									   const eap_am_network_id_c * const receive_network_id);
    86 									   const eap_am_network_id_c * const receive_network_id);
    87 	
    87 	
    88 #endif // #ifdef USE_EAP_SIMPLE_CONFIG
    88 #endif // #ifdef USE_EAP_SIMPLE_CONFIG
    89 	
    89 	
    90 
    90 	/**
       
    91 	* Invokes the configuration UI.
       
    92 	**/
       
    93 	TInt InvokeUiL();
    91 	
    94 	
    92 	/**
    95 	/**
    93 	* Gets information about EAP type. 
    96 	* Gets information about EAP type. 
    94 	* @return Pointer to a class that contains the EAP type information. Also pushed to cleanup stack.
    97 	* @return Pointer to a class that contains the EAP type information. Also pushed to cleanup stack.
    95 	*/
    98 	*/
    96 	CEapTypeInfo* GetInfoL();
    99 	CEapTypeInfo* GetInfoLC();
    97 
   100 
    98 	/**
   101 	/**
    99 	* Deletes EAP type configuration
   102 	* Deletes EAP type configuration
   100 	*/	
   103 	*/	
   101 	void DeleteConfigurationL();
   104 	void DeleteConfigurationL();
   113 	/**
   116 	/**
   114 	* Sets the tunneling type. This is used to indicate that this type is run inside another 
   117 	* Sets the tunneling type. This is used to indicate that this type is run inside another 
   115 	* EAP type. 
   118 	* EAP type. 
   116 	* @param aTunnelingType Type number for the tunneling type
   119 	* @param aTunnelingType Type number for the tunneling type
   117 	*/	
   120 	*/	
   118 	void SetTunnelingType(const TEapExpandedType aTunnelingType);
   121 	void SetTunnelingType(const TInt aTunnelingType);
   119 
   122 
   120 	/**
   123 	/**
   121 	* Changes the index of the saved parameters.
   124 	* Changes the index of the saved parameters.
   122 	* @param aIndexType Indicates the bearer used for this connection.
   125 	* @param aIndexType Indicates the bearer used for this connection.
   123 	* @param aIndex Index for the connection. aIndexType and aIndex uniquely specify the connection.
   126 	* @param aIndex Index for the connection. aIndexType and aIndex uniquely specify the connection.