fileexamapplication.cpp

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

CPP
40 行
字号
/*
 ============================================================================
 Name		: FileExamApplication.cpp
 Author	  : hou maoqing
 Copyright   : Copyright (c) Hou maoqing 2008
 Description : Main application class
 ============================================================================
 */

// INCLUDE FILES
#include "FileExam.hrh"
#include "FileExamDocument.h"
#include "FileExamApplication.h"

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

// -----------------------------------------------------------------------------
// CFileExamApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CFileExamApplication::CreateDocumentL()
	{
	// Create an FileExam document, and return a pointer to it
	return CFileExamDocument::NewL(*this);
	}

// -----------------------------------------------------------------------------
// CFileExamApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CFileExamApplication::AppDllUid() const
	{
	// Return the UID for the FileExam application
	return KUidFileExamApp;
	}

// End of File

⌨️ 快捷键说明

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