videoutils_plat/videoconnutility_api/tsrc/VCXTestCommon/inc/VCXTestTimerWait.h
branchRCL_3
changeset 47 826cea16efd9
parent 45 798ee5f1972c
child 48 13a33d82ad98
equal deleted inserted replaced
45:798ee5f1972c 47:826cea16efd9
     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 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef VCXTIMERWAIT_H
       
    20 #define VCXTIMERWAIT_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32base.h>
       
    24 #include "VCXTestLog.h"
       
    25 #include "MIptvTestTimerObserver.h"
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class CIptvTestTimer;
       
    29 class CIptvTestActiveWait;
       
    30 
       
    31 // DATA TYPES
       
    32 
       
    33 // CLASS DECLARATION
       
    34 
       
    35 /**
       
    36  * Timer waiter class.
       
    37  */
       
    38 class CVCXTestTimerWait : public CBase, public MIptvTestTimerObserver
       
    39     {
       
    40     public:
       
    41         IMPORT_C static CVCXTestTimerWait* NewL();
       
    42 
       
    43         IMPORT_C ~CVCXTestTimerWait();
       
    44 
       
    45         IMPORT_C void WaitL( TUint32 aMicroSeconds );
       
    46 
       
    47     public:
       
    48         void TimerComplete(TInt aTimerId, TInt aError);
       
    49 
       
    50     private:
       
    51 
       
    52         IMPORT_C void ConstructL();
       
    53 
       
    54         CVCXTestTimerWait();
       
    55 
       
    56     private:
       
    57         CIptvTestTimer* iTimer;
       
    58         CIptvTestActiveWait* iWait;
       
    59 
       
    60     };
       
    61 
       
    62 #endif // VCXTIMERWAIT_H