powerresmandocument.h

来自「基于Symbian平台下随心所欲控制屏幕的灯亮熄.在观看视频和发短信时这一点非常」· C头文件 代码 · 共 72 行

H
72
字号
/**
*
* 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 + =
减小字号Ctrl + -
显示快捷键?