diff -r 000000000000 -r c8830336c852 eapol/eapol_framework/eapol_symbian/am/type/gsmsim/symbian/plugin/simulator/inc/EapSimSimulatorPlugin.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eapol/eapol_framework/eapol_symbian/am/type/gsmsim/symbian/plugin/simulator/inc/EapSimSimulatorPlugin.h Thu Dec 17 08:47:43 2009 +0200 @@ -0,0 +1,59 @@ +/* +* Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: EAP and WLAN authentication protocols. +* +*/ + + + +#ifndef _EAPSIMPLUGIN_H_ +#define _EAPSIMPLUGIN_H_ + +#include "EapPluginInterface.h" +#include + +const TUint KVersion = 1; + +class CEapSimSimulatorConfiguration; +class eap_type_gsmsim_c; +class eap_am_type_gsmsim_simulator_c; + + +class CEapSimSimulatorPlugin : public CEapPluginInterface +{ +public: + CEapSimSimulatorPlugin(); + static CEapSimSimulatorPlugin* NewL(); + virtual ~CEapSimSimulatorPlugin(); + CEapConfigInterface* CreateConfigIfL(const TIndexType aIndexType, const TInt aIndex); + eap_base_type_c* CreateTypeIfL(abs_eap_am_tools_c* const aTools, + abs_eap_base_type_c* const aPartner, + const bool is_client_when_true, + const TIndexType aIndexType, + const TInt aIndex); + TUint GetVersion(void) { return KVersion; }; +private: + CEapSimSimulatorConfiguration* iConfig; + eap_type_gsmsim_c* iEapType; + eap_am_type_gsmsim_simulator_c* iAmEapType; +}; + +const TImplementationProxy ImplementationTable[] = +{ + {{0x2666666b}, CEapSimSimulatorPlugin::NewL} +}; + +#endif // _EAPSIMPLUGIN_H_ + +// End of File