lafagnosticuifoundation/animation/tef/ActiveWait.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent - Internal Symbian test code 
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 #ifndef __ACTIVEWAIT_H__
       
    24 #define __ACTIVEWAIT_H__
       
    25 
       
    26 #include "e32std.h"
       
    27 #include "e32base.h"
       
    28 
       
    29 class CActiveWait : public CActive
       
    30 	{
       
    31 public:
       
    32 	static CActiveWait* NewL();
       
    33 	~CActiveWait();
       
    34 	void Wait(TInt aDelay);
       
    35 	// From CActive:
       
    36 	void RunL();
       
    37 	void DoCancel();
       
    38 	TInt RunError(TInt aError);
       
    39 protected:
       
    40 	CActiveWait();
       
    41 	void ConstructL();
       
    42 protected:
       
    43 	RTimer iTimer;
       
    44 	TTime iFromTime;
       
    45 	};
       
    46 	
       
    47 #endif //__ACTIVEWAIT_H__