diff -r 000000000000 -r 4e1aa6a622a0 resourcemgmt/hwresourcesmgr/test/multiclient/HWRMLightTestB/inc/TestCasePropertyWatch.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/resourcemgmt/hwresourcesmgr/test/multiclient/HWRMLightTestB/inc/TestCasePropertyWatch.h Tue Feb 02 00:53:00 2010 +0200 @@ -0,0 +1,62 @@ +/* +* Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + + + +#ifndef TESTCASEPROPERTYWATCH_H +#define TESTCASEPROPERTYWATCH_H + +// INCLUDES +#include +#include + +// CONSTANTS + +const TUid KMyHWRMTestPpoperty={0x10005B94}; +const TUint32 EHWRMNextTestToRun = 0x00001001; +const TUint32 EHWRMStepResult = 0x00001002; + +// MACROS + +// DATA TYPES + +// FUNCTION PROTOTYPES + +// FORWARD DECLARATIONS + +// CLASS DECLARATION + + +// Active object that tracks changes to the test case property + +class CTestCasePropertyWatch : public CActive + { + enum {EPriority=0}; +public: + static CTestCasePropertyWatch* NewL(); +private: + CTestCasePropertyWatch(); + void ConstructL(); + ~CTestCasePropertyWatch(); + void RunL(); + void DoCancel(); +private: + RProperty iProperty; + //RTimer iTimer; + }; + +#endif