diff -r 30e048a7b597 -r bad0cc58d154 eapol/eapol_framework/eapol_symbian/am/include/eap_am_type_leap_symbian.h --- a/eapol/eapol_framework/eapol_symbian/am/include/eap_am_type_leap_symbian.h Thu Aug 19 09:58:27 2010 +0300 +++ b/eapol/eapol_framework/eapol_symbian/am/include/eap_am_type_leap_symbian.h Tue Aug 31 15:16:37 2010 +0300 @@ -16,19 +16,26 @@ */ /* -* %version: 18 % +* %version: 16.1.11 % */ #ifndef EAP_AM_TYPE_LEAP_SYMBIAN_H #define EAP_AM_TYPE_LEAP_SYMBIAN_H +// This flag is for testing memory leaks that occurs in QT notifier. +#define USE_EAP_AUTH_NOTIFIER + // INCLUDES #include "eap_am_tools_symbian.h" #include "abs_eap_base_type.h" #include "eap_am_type_leap.h" #include "eap_am_network_id.h" -#include "EapLeapNotifierStructs.h" + +#if defined(USE_EAP_AUTH_NOTIFIER) +#include "eap_auth_notifier.h" +#endif //#if defined(USE_EAP_AUTH_NOTIFIER) + #include #include @@ -42,6 +49,10 @@ */ class EAP_EXPORT eap_am_type_leap_symbian_c : public CActive, public eap_am_type_leap_c +#if defined(USE_EAP_AUTH_NOTIFIER) + , public MNotificationCallback +#endif //#if defined(USE_EAP_AUTH_NOTIFIER) + { private: //-------------------------------------------------- @@ -50,15 +61,17 @@ abs_eap_base_type_c * const m_partner; - RDbs m_session; + RFs m_session; RDbNamedDatabase m_database; +#if defined(USE_EAP_AUTH_NOTIFIER) RNotifier m_notifier; - TEapLeapUsernamePasswordInfo * m_input_output_data_ptr; + CEapAuthNotifier::TEapDialogInfo * m_input_output_data_ptr; - TPckg * m_input_output_pckg_ptr; + TPckg * m_input_output_pckg_ptr; +#endif //#if defined(USE_EAP_AUTH_NOTIFIER) eap_am_network_id_c m_receive_network_id; @@ -82,19 +95,10 @@ bool m_shutdown_was_called; - bool m_is_notifier_connected; // Tells if notifier server is connected. - + // This holds the max session time read from the configuration file. TInt64 m_max_session_time; - // This is the vendor-type for tunneling EAP type. - // Valid for both expanded and non-expanded EAP types. - // This is used since m_tunneling_type can not be used in the same way - // in expanded and non-expanded cases. - // Unlike EAP type, Tunneling type is still non-expanded - // for both cases especially for using in the EAP databases. - u32_t m_tunneling_vendor_type; - void send_error_notification(const eap_status_e error); /** @@ -105,6 +109,9 @@ bool is_session_validL(); +#if defined(USE_EAP_AUTH_NOTIFIER) + CEapAuthNotifier* iEapAuthNotifier; +#endif //#if defined(USE_EAP_AUTH_NOTIFIER) //-------------------------------------------------- protected: @@ -197,6 +204,10 @@ */ eap_status_e store_authentication_time(); + void DlgComplete( TInt aStatus ); + + TInt IsDlgReadyToCompleteL(); + }; // class eap_am_type_leap_symbian_c