eapol/eapol_framework/eapol_symbian/am/type/securid/symbian/plugin/inc/EapSecurID.h
changeset 52 c23bdf5a328a
parent 33 938269283a16
equal deleted inserted replaced
51:e863583e6720 52:c23bdf5a328a
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 16 %
    19 * %version: 23 %
    20 */
    20 */
    21 
    21 
    22 #ifndef EAPSECURID_H
    22 #ifndef EAPSECURID_H
    23 #define EAPSECURID_H
    23 #define EAPSECURID_H
    24 
    24 
    25 // INCLUDES
    25 // INCLUDES
    26 #include <EapTypePlugin.h>
    26 #include <EapTypePlugin.h>
       
    27 #include "eap_am_export.h"
       
    28 // Start: added by script change_export_macros.sh.
       
    29 #if defined(EAP_NO_EXPORT_EAPSECURID_H)
       
    30 	#define EAP_CLASS_VISIBILITY_EAPSECURID_H EAP_NONSHARABLE 
       
    31 	#define EAP_FUNC_VISIBILITY_EAPSECURID_H 
       
    32 	#define EAP_C_FUNC_VISIBILITY_EAPSECURID_H 
       
    33 	#define EAP_FUNC_EXPORT_EAPSECURID_H 
       
    34 	#define EAP_C_FUNC_EXPORT_EAPSECURID_H 
       
    35 #elif defined(EAP_EXPORT_EAPSECURID_H)
       
    36 	#define EAP_CLASS_VISIBILITY_EAPSECURID_H EAP_EXPORT 
       
    37 	#define EAP_FUNC_VISIBILITY_EAPSECURID_H EAP_FUNC_EXPORT 
       
    38 	#define EAP_C_FUNC_VISIBILITY_EAPSECURID_H EAP_C_FUNC_EXPORT 
       
    39 	#define EAP_FUNC_EXPORT_EAPSECURID_H EAP_FUNC_EXPORT 
       
    40 	#define EAP_C_FUNC_EXPORT_EAPSECURID_H EAP_C_FUNC_EXPORT 
       
    41 #else
       
    42 	#define EAP_CLASS_VISIBILITY_EAPSECURID_H EAP_IMPORT 
       
    43 	#define EAP_FUNC_VISIBILITY_EAPSECURID_H EAP_FUNC_IMPORT 
       
    44 	#define EAP_C_FUNC_VISIBILITY_EAPSECURID_H EAP_C_FUNC_IMPORT 
       
    45 	#define EAP_FUNC_EXPORT_EAPSECURID_H 
       
    46 	#define EAP_C_FUNC_EXPORT_EAPSECURID_H 
       
    47 #endif
       
    48 // End: added by script change_export_macros.sh.
    27 #include "eap_header.h"
    49 #include "eap_header.h"
       
    50 
       
    51 class AbsPacStoreInitializer;
    28 
    52 
    29 // LOCAL CONSTANTS
    53 // LOCAL CONSTANTS
    30 
    54 
    31 // CLASS DECLARATION
    55 // CLASS DECLARATION
    32 /**
    56 /**
    33 * Class that implements the generic EAP type interface. Implements EAP SecurID protocol.
    57 * Class that implements the generic EAP type interface. Implements EAP SecurID protocol.
    34 */
    58 */
    35 class CEapSecurID : public CEapTypePlugin
    59 class EAP_CLASS_VISIBILITY_EAPSECURID_H CEapSecurID : public CEapTypePlugin
    36 {
    60 {
    37 public:		
    61 public:		
    38 	/**
    62 	/**
    39 	* Construction function. Called by ECom after the EAP SecurID plugin has been loaded.
    63 	* Construction function. Called by ECom after the EAP SecurID plugin has been loaded.
    40 	* @param aIapInfo Pointer to the class that contains information about bearer type and unique index.
    64 	* @param aIapInfo Pointer to the class that contains information about bearer type and unique index.
    41 	* @return Pointer to the instance.
    65 	* @return Pointer to the instance.
    42 	*/
    66 	*/
    43 	static CEapSecurID* NewSecurIdL(SIapInfo *aIapInfo);	
    67 	static CEapSecurID* NewSecurIdL(SPluginInfo *aIapInfo);	
    44 	
    68 	
    45 	/**
    69 	/**
    46 	* Construction function. Called by ECom after the EAP SecurID plugin has been loaded.
    70 	* Construction function. Called by ECom after the EAP SecurID plugin has been loaded.
    47 	* @param aIapInfo Pointer to the class that contains information about bearer type and unique index.
    71 	* @param aIapInfo Pointer to the class that contains information about bearer type and unique index.
    48 	* @return Pointer to the instance.
    72 	* @return Pointer to the instance.
    49 	*/
    73 	*/
    50 	static CEapSecurID* NewGtcL(SIapInfo *aIapInfo);	
    74 	static CEapSecurID* NewGtcL(SPluginInfo *aIapInfo);	
    51 	
    75 	
    52 	/**
    76 	/**
    53 	* Destructor does nothing.
    77 	* Destructor does nothing.
    54 	*/
    78 	*/
    55 	virtual ~CEapSecurID();
    79 	virtual ~CEapSecurID();
   148 	* Copies the EAP types configuration
   172 	* Copies the EAP types configuration
   149 	* @param aDestinationIndex ID to where copy the settings.
   173 	* @param aDestinationIndex ID to where copy the settings.
   150 	*/
   174 	*/
   151 	void CopySettingsL(const TIndexType aDestinationIndexType, const TInt aDestinationIndex);
   175 	void CopySettingsL(const TIndexType aDestinationIndexType, const TInt aDestinationIndex);
   152 
   176 
       
   177 	TInt InitialisePacStore(AbsPacStoreInitializer * const initializer);
   153 
   178 
   154 protected:
   179 protected:
   155 
   180 
   156 	/**
   181 	/**
   157 	* Constructor initialises member variables.
   182 	* Constructor initialises member variables.