📄 hwrmtestapppropertyobserver.h
字号:
/*
* ==============================================================================
* Name : HWRMTestAppPropertyObserver.h
* Part of : HWRMTestApp
* Interface :
* Description : P&S Observer for HWRM test app.
* Version :
*
* Copyright (c) 2002-2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
#ifndef HWRMTESTAPPPROPERTYOBSERVER_H
#define HWRMTESTAPPPROPERTYOBSERVER_H
// INCLUDES
#include <e32base.h>
#include <e32property.h>
// CONSTANTS
// None
// MACROS
// None
// DATA TYPES
// None
// FUNCTION PROTOTYPES
// None
// FORWARD DECLARATIONS
class CHWRMTestAppContainer;
// CLASS DECLARATION
/**
* Active object that tracks changes to the P&S properties
*
* @lib HWRMTestApp.exe
* @since Series S60 3.0
*/
class CHWRMTestAppPropertyObserver : public CActive
{
enum {EPriority=0};
public:
static CHWRMTestAppPropertyObserver* NewL( const TUid aUid,
const TUint32 aKey,
const CHWRMTestAppContainer* aAppContainer );
virtual ~CHWRMTestAppPropertyObserver();
private:
CHWRMTestAppPropertyObserver( const TUid aUid, const TUint32 aKey,
const CHWRMTestAppContainer* aAppContainer );
void ConstructL();
void RunL();
void DoCancel();
private:
RProperty iProperty;
const TUid iUid;
const TUint32 iKey;
const CHWRMTestAppContainer* iAppContainer; // used to log messages
};
#endif // HWRMTESTAPPPROPERTYOBSERVER_H
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -