controlexamapplication.cpp

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

CPP
41
字号
/*
============================================================================
 Name        : ControlExamApplication.cpp
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : Main application class
============================================================================
*/

// INCLUDE FILES
#include "ControlExamDocument.h"
#include "ControlExamApplication.h"

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

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

// -----------------------------------------------------------------------------
// CControlExamApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CControlExamApplication::AppDllUid() const
	{
	// Return the UID for the ControlExam application
	return KUidControlExamApp;
	}

// End of File

⌨️ 快捷键说明

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