multiviewexamapplication.h

来自「国内著名嵌入式培训机构内部资料,内含一些实例代码,包括技术专题书籍」· C头文件 代码 · 共 54 行

H
54
字号
/*
============================================================================
 Name        : MultiViewExamApplication.h
 Author      : Hou maoqing
 Version     :
 Copyright   : Copyright (c) Hou maoqing 2008
 Description : Main application class
============================================================================
*/

#ifndef __MULTIVIEWEXAMAPPLICATION_H__
#define __MULTIVIEWEXAMAPPLICATION_H__

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

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

// CLASS DECLARATION

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

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

	protected: // Functions from base classes

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

#endif // __MULTIVIEWEXAMAPPLICATION_H__

// End of File

⌨️ 快捷键说明

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