email/testutils/inc/T_TimerUtils.h
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     1 /**
       
     2 * Copyright (c) 2006-2009 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 "Symbian Foundation License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * This is the header file which contains the utility functions for the CTimer derived objects
       
    16 * 
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @file
       
    26 */
       
    27 
       
    28 
       
    29 #ifndef __T_TIMER_UTILS_H__
       
    30 #define __T_TIMER_UTILS_H__
       
    31 
       
    32 
       
    33 // epoc includes
       
    34 #include <e32base.h>
       
    35 
       
    36 /**
       
    37 This class provides the implementation of the Timer utilities
       
    38 */
       
    39 class CT_MsgTimerUtils : public CTimer
       
    40 	{
       
    41 public:
       
    42 	IMPORT_C static CT_MsgTimerUtils* NewL();
       
    43 	~CT_MsgTimerUtils();
       
    44 	IMPORT_C void After(TInt aSec,TRequestStatus& aStatus);
       
    45 
       
    46 protected:
       
    47 	void RunL();
       
    48 
       
    49 private:
       
    50 	CT_MsgTimerUtils();
       
    51 
       
    52 private:
       
    53 	TRequestStatus* iRequestStatus;
       
    54 	};
       
    55 #endif //__T_TIMER_UTILS_H__