ddapplication.h

来自「实现界面编程。symbian方面的界面开发」· C头文件 代码 · 共 54 行

H
54
字号
/*
============================================================================
 Name        : ddApplication.h
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : Main application class
============================================================================
*/

#ifndef __DDAPPLICATION_H__
#define __DDAPPLICATION_H__

// INCLUDES
#include <aknapp.h>
#include "dd.hrh"

// UID for the application;
// this should correspond to the uid defined in the mmp file
const TUid KUidddApp = { _UID3 };

// CLASS DECLARATION

/**
* CddApplication application class.
* Provides factory to create concrete document object.
* An instance of CddApplication is the application part of the
* AVKON application framework for the dd example application.
*/
class CddApplication : public CAknApplication
	{
	public: // Functions from base classes

		/**
		* From CApaApplication, AppDllUid.
		* @return Application's UID (KUidddApp).
		*/
		TUid AppDllUid() const;

	protected: // Functions from base classes

		/**
		* From CApaApplication, CreateDocumentL.
		* Creates CddDocument document object. The returned
		* pointer in not owned by the CddApplication object.
		* @return A pointer to the created document object.
		*/
		CApaDocument* CreateDocumentL();
	};

#endif // __DDAPPLICATION_H__

// End of File

⌨️ 快捷键说明

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