📄 powerresmandocument.h
字号:
/**
*
* CPowerResManDocument PowerResManDocument.h
* This is the document class for the PowerResMan example.
*
* Copyright (c) 2004 Nokia Corporation
* version 2.0
*/
#ifndef __POWERRESMANDOCUMENT_H__
#define __POWERRESMANDOCUMENT_H__
// INCLUDES
// System includes
#include <akndoc.h> // CAknDocument
// CONSTANTS
// FORWARD DECLARATIONS
class CEikAppUi;
// CLASS DECLARATION
class CPowerResManDocument : public CAknDocument
{
public: // Construction and destruction.
/**
* Function: NewL
*
* Discussion: Construct a CPowerResManDocument
* Param: aApp application creating this document
* Returns: A pointer to the created instance of CPowerResManDocument
*/
static CPowerResManDocument* NewL(CEikApplication& aApp);
/**
* Function: ~CPowerResManDocument
*
* Discussion: Destroy the object
*/
~CPowerResManDocument();
private: // Construction
/**
* Function: CPowerResManDocument
* Discussion: Perform the first phase of two phase construction
* Param: aApp application creating this document
*/
CPowerResManDocument(CEikApplication& aApp);
/**
* Function: ConstructL
*
* Discussion: Perform the second phase construction of a
* CPowerResManDocument object.
*/
void ConstructL();
private: // From CEikDocument
CEikAppUi* CreateAppUiL();
};
#endif // #ifndef __POWERRESMANDOCUMENT_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -