resourcemgmt/hwresourcesmgr/test/multiclient/HWRMLightTestB/inc/TestCaseTimerWatch.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 /*
       
     2 * Copyright (c) 2003-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 
       
    18 
       
    19 
       
    20 #ifndef TestCaseTimerWATCH_H
       
    21 #define TestCaseTimerWATCH_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32base.h>
       
    25 #include <e32property.h>
       
    26 
       
    27 // CONSTANTS
       
    28 
       
    29 const TUid KMyHWRMTestPpoperty={0x10005B94};
       
    30 const TUint32 EHWRMNextTestToRun = 0x00001001;
       
    31 const TUint32 EHWRMNextStepToRun = 0x00001002;
       
    32 
       
    33 // MACROS
       
    34 
       
    35 // DATA TYPES
       
    36 
       
    37 // FUNCTION PROTOTYPES
       
    38 
       
    39 // FORWARD DECLARATIONS
       
    40 
       
    41 // CLASS DECLARATION
       
    42 
       
    43 
       
    44 // Active object that tracks changes to the test case property
       
    45 
       
    46 class CTestCaseTimerWatch : public CActive
       
    47 	{
       
    48 	enum {EPriority=0};
       
    49 public:
       
    50 	static CTestCaseTimerWatch* NewL();
       
    51 private:
       
    52 	CTestCaseTimerWatch();
       
    53 	void ConstructL();
       
    54 	~CTestCaseTimerWatch();
       
    55 	void RunL();
       
    56 	void DoCancel();
       
    57 private:
       
    58 	RProperty iProperty;
       
    59 	//RTimer iTimer;
       
    60 	};
       
    61 
       
    62 #endif