eapol/eapol_framework/eapol_symbian/am/eapvpnif/inc/eap_vpn_if_timer.h
changeset 0 c8830336c852
child 2 1c7bc153c08e
equal deleted inserted replaced
-1:000000000000 0:c8830336c852
       
     1 /*
       
     2 * Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  EAP and WLAN authentication protocols.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #if !defined(_EAPOL_TIMER_H_)
       
    20 #define _EAPOL_TIMER_H_
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 #include "eap_am_types.h"
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class abs_eap_am_tools_c;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 class CEapVpnInterfaceTimer
       
    31 : public CTimer
       
    32 {
       
    33 public:
       
    34 	static CEapVpnInterfaceTimer* NewL(abs_eap_am_tools_c * const aTools);
       
    35 	virtual ~CEapVpnInterfaceTimer();
       
    36 	void StartTimer(const TUint aInterval);
       
    37 	void StopTimer();
       
    38 	TBool TimerRunning();
       
    39 	void RunL();
       
    40 	void DoCancel();
       
    41 protected:
       
    42 	CEapVpnInterfaceTimer(abs_eap_am_tools_c * const aTools);
       
    43 	void ConstructL();
       
    44 	
       
    45 private:
       
    46 	abs_eap_am_tools_c* const iTools;
       
    47 
       
    48 	TUint iInterval;	
       
    49 
       
    50 	u64_t iStartTime;
       
    51 	u64_t iLastTime;
       
    52 
       
    53 }; 
       
    54 
       
    55 #endif //#if !defined(_EAPOL_TIMER_H_)
       
    56 
       
    57 // End of file