eventsui/eventshandlerui/eventshandlerserver/inc/evthandlershutdowntimer.h
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     1 /*
       
     2 * Copyright (c) 2008 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 "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:  Shutdown Timer class for Events Handler Server
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_EVTHANDLERSERVERSHUTDOWNTIMER_H
       
    20 #define C_EVTHANDLERSERVERSHUTDOWNTIMER_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 /**
       
    25  * Events Handler Server shutdown timer class. This class extents the CTimer
       
    26  * class for Events Handler Server.
       
    27  *
       
    28  * @lib evthandlerserver.exe
       
    29  * @since S60 v5.0
       
    30  */
       
    31 class CEvtHandlerShutdownTimer : public CTimer
       
    32 	{
       
    33 	enum { KCEvtHandlerShutdownDelay = 0x500000 }; // approx 5s
       
    34 
       
    35 public:
       
    36 	inline CEvtHandlerShutdownTimer();
       
    37 	inline void ConstructL();
       
    38 	inline void Start();
       
    39 
       
    40 private: // from CTimer
       
    41 	void RunL();
       
    42 	};
       
    43 
       
    44 #include "evthandlershutdowntimer.inl"
       
    45 
       
    46 #endif  // C_EVTHANDLERSERVERSHUTDOWNTIMER_H
       
    47 
       
    48 // End of File