eapol/eapol_framework/eapol_symbian/am/type/protected_setup/symbian/plugin/inc/EapProtectedSetup.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: 11 %
    19 * %version: 18 %
    20 */
    20 */
    21 
    21 
    22 #ifndef _EAPPROTECTEDSETUP_H_
    22 #ifndef _EAPPROTECTEDSETUP_H_
    23 #define _EAPPROTECTEDSETUP_H_
    23 #define _EAPPROTECTEDSETUP_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_EAPPROTECTEDSETUP_H)
       
    30 	#define EAP_CLASS_VISIBILITY_EAPPROTECTEDSETUP_H EAP_NONSHARABLE 
       
    31 	#define EAP_FUNC_VISIBILITY_EAPPROTECTEDSETUP_H 
       
    32 	#define EAP_C_FUNC_VISIBILITY_EAPPROTECTEDSETUP_H 
       
    33 	#define EAP_FUNC_EXPORT_EAPPROTECTEDSETUP_H 
       
    34 	#define EAP_C_FUNC_EXPORT_EAPPROTECTEDSETUP_H 
       
    35 #elif defined(EAP_EXPORT_EAPPROTECTEDSETUP_H)
       
    36 	#define EAP_CLASS_VISIBILITY_EAPPROTECTEDSETUP_H EAP_EXPORT 
       
    37 	#define EAP_FUNC_VISIBILITY_EAPPROTECTEDSETUP_H EAP_FUNC_EXPORT 
       
    38 	#define EAP_C_FUNC_VISIBILITY_EAPPROTECTEDSETUP_H EAP_C_FUNC_EXPORT 
       
    39 	#define EAP_FUNC_EXPORT_EAPPROTECTEDSETUP_H EAP_FUNC_EXPORT 
       
    40 	#define EAP_C_FUNC_EXPORT_EAPPROTECTEDSETUP_H EAP_C_FUNC_EXPORT 
       
    41 #else
       
    42 	#define EAP_CLASS_VISIBILITY_EAPPROTECTEDSETUP_H EAP_IMPORT 
       
    43 	#define EAP_FUNC_VISIBILITY_EAPPROTECTEDSETUP_H EAP_FUNC_IMPORT 
       
    44 	#define EAP_C_FUNC_VISIBILITY_EAPPROTECTEDSETUP_H EAP_C_FUNC_IMPORT 
       
    45 	#define EAP_FUNC_EXPORT_EAPPROTECTEDSETUP_H 
       
    46 	#define EAP_C_FUNC_EXPORT_EAPPROTECTEDSETUP_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 // CLASS DECLARATION
    53 // CLASS DECLARATION
    30 /**
    54 /**
    31 * Class that implements the generic EAP type interface for EAP protected setup (EAP-WSC).
    55 * Class that implements the generic EAP type interface for EAP protected setup (EAP-WSC).
    32 */
    56 */
    33 class CEapProtectedSetup : public CEapTypePlugin
    57 class EAP_CLASS_VISIBILITY_EAPPROTECTEDSETUP_H CEapProtectedSetup : public CEapTypePlugin
    34 {
    58 {
    35 public:		
    59 public:		
    36 
    60 
    37 	/**
    61 	/**
    38 	* Construction function for EAP Protected setup. Called by ECom after the DLL has been loaded.
    62 	* Construction function for EAP Protected setup. Called by ECom after the DLL has been loaded.
    39 	* @param aIapInfo Pointer to the class that contains information about bearer type and unique index.
    63 	* @param aIapInfo Pointer to the class that contains information about bearer type and unique index.
    40 	* @return Pointer to the instance.
    64 	* @return Pointer to the instance.
    41 	*/
    65 	*/
    42 	static CEapProtectedSetup* NewL(SIapInfo *aIapInfo);
    66 	static CEapProtectedSetup* NewL(SPluginInfo *aIapInfo);
    43 
    67 
    44 	/**
    68 	/**
    45 	* Destructor does nothing.
    69 	* Destructor does nothing.
    46 	*/
    70 	*/
    47 	virtual ~CEapProtectedSetup();
    71 	virtual ~CEapProtectedSetup();
   118 	* Copies the EAP types configuration
   142 	* Copies the EAP types configuration
   119 	* @param aDestinationIndex ID to where copy the settings.
   143 	* @param aDestinationIndex ID to where copy the settings.
   120 	*/
   144 	*/
   121 	void CopySettingsL(const TIndexType aDestinationIndexType, const TInt aDestinationIndex);
   145 	void CopySettingsL(const TIndexType aDestinationIndexType, const TInt aDestinationIndex);
   122 
   146 
       
   147 	TInt InitialisePacStore(AbsPacStoreInitializer * const initializer);
       
   148 
   123 protected:
   149 protected:
   124 	
   150 	
   125 	/**
   151 	/**
   126 	* Constructor initialises member variables.
   152 	* Constructor initialises member variables.
   127 	*/
   153 	*/