powerresmanapplication.h

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

H
55
字号
/**
*
* CPowerResManApplication PowerResManApplication.h
* This is the main application class for the System Agent example.
*
* It provides a factory to create a concrete document object, and a method to retrieve
* the application's UID.
*
* Copyright (c) 2004 Nokia Corporation
* version 2.0
*/

#ifndef __POWERRESMANAPPLICATION_H__
#define __POWERRESMANAPPLICATION_H__

// INCLUDES

// System includes
#include <aknapp.h> // CAknApplication

// CONSTANTS

// UID of the application
#ifdef __SERIES60_3X__
const TUid KUidPowerResMan = { 0xE01FDA99 };
#else
const TUid KUidPowerResMan = { 0x101FDA99 };
#endif
// CLASS DECLARATION


class CPowerResManApplication : public CAknApplication
	{
private:
	// from CAknApplication
    /**
     * Function:    CreateDocumentL
     * Description: Create a CApaDocument object and return a pointer to it.
     * Returns:     A pointer to the created document
     */
	CApaDocument* CreateDocumentL();

    /**
     * Function:    AppDllUid
     * Description: Return the application DLL UID value
     * Returns:     The UID of this Application Dll
     */
	TUid AppDllUid() const;
	};

#endif	// __POWERRESMANAPPLICATION_H__

// End of File

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?