resourcemgmt/hwresourcesmgr/test/multiclient/HWRMLightTestB/inc/TestCasePropertyWatch.h
/*
* 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 <e32base.h>
#include <e32property.h>
// 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