graphicexamapplication.cpp

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

CPP
41
字号
/*
============================================================================
 Name        : GraphicExamApplication.cpp
 Author      : hou maoqing
 Version     :
 Copyright   : Copyright (c) Hou maoqing 2008
 Description : Main application class
============================================================================
*/

// INCLUDE FILES
#include "GraphicExamDocument.h"
#include "GraphicExamApplication.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CGraphicExamApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CGraphicExamApplication::CreateDocumentL()
	{
	// Create an GraphicExam document, and return a pointer to it
	return (static_cast<CApaDocument*>
		( CGraphicExamDocument::NewL( *this ) ) );
	}

// -----------------------------------------------------------------------------
// CGraphicExamApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CGraphicExamApplication::AppDllUid() const
	{
	// Return the UID for the GraphicExam application
	return KUidGraphicExamApp;
	}

// End of File

⌨️ 快捷键说明

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