loggingservices/eventlogger/test/tef/teflogengbur/src/testactive.h
changeset 0 08ec8eefde2f
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     1 // Copyright (c) 2002-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 // Declaration of test active object for log engine testing 
       
    15 // Identical declaration exists in common\syslibs\logeng\ongoing\test\src\test.h
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file
       
    21  @internalComponent
       
    22 */
       
    23 
       
    24 #ifndef TESTACTIVE_H
       
    25 #define TESTACTIVE_H
       
    26 
       
    27 #include <e32base.h>
       
    28 
       
    29 class CTestActive : public CActive
       
    30 	{
       
    31 public:
       
    32 	CTestActive(TInt aPriority = EPriorityIdle-100);
       
    33 	~CTestActive();
       
    34 	void Start();
       
    35 	void Start(TInt);
       
    36 protected:
       
    37 	void DoCancel();
       
    38 	void RunL();
       
    39 private:
       
    40 	TBool iDelayCompletion;
       
    41 	TRequestStatus iStoredStatus;
       
    42 	TInt iDelayTime;
       
    43 	};
       
    44 
       
    45 #endif // #ifndef TESTACTIVE_H