mmtestenv/mmtestfw/Source/TestFrameworkClient/asyncscheduler.h
changeset 0 40261b775718
equal deleted inserted replaced
-1:000000000000 0:40261b775718
       
     1 
       
     2 // Copyright (c) 2002-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 "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 #ifndef ASYNCSCHEDULER_H
       
    18 #define ASYNCSCHEDULER_H
       
    19 
       
    20 #include <e32base.h>
       
    21 #include <testframework.h>
       
    22 
       
    23 //
       
    24 // CAsyncTestActiveScheduler - call StopTest on error
       
    25 // 
       
    26 
       
    27 NONSHARABLE_CLASS (CAsyncTestActiveScheduler) : public CActiveScheduler
       
    28 	{
       
    29 public:
       
    30 	CAsyncTestActiveScheduler(RAsyncTestStep& aTestStep);
       
    31 protected:
       
    32 	// from CActiveScheduler
       
    33 	void Error(TInt aError) const;
       
    34 private:
       
    35 	RAsyncTestStep& iTestStep;
       
    36 	};
       
    37 	
       
    38 #endif