examhelloworldapplication.cpp
来自「国内著名嵌入式培训机构内部资料,内含一些实例代码,包括技术专题书籍」· C++ 代码 · 共 40 行
CPP
40 行
/*
============================================================================
Name : ExamHelloWorldApplication.cpp
Author :
Copyright : Your copyright notice
Description : Main application class
============================================================================
*/
// INCLUDE FILES
#include "ExamHelloWorld.hrh"
#include "ExamHelloWorldDocument.h"
#include "ExamHelloWorldApplication.h"
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CExamHelloWorldApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CExamHelloWorldApplication::CreateDocumentL()
{
// Create an ExamHelloWorld document, and return a pointer to it
return CExamHelloWorldDocument::NewL(*this);
}
// -----------------------------------------------------------------------------
// CExamHelloWorldApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CExamHelloWorldApplication::AppDllUid() const
{
// Return the UID for the ExamHelloWorld application
return KUidExamHelloWorldApp;
}
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?