newapp11application.cpp
来自「一个很不错的Symbian程序源代码,里面有图片和一些对话框」· C++ 代码 · 共 45 行
CPP
45 行
/*
============================================================================
Name : NewApp11Application.cpp
Author :
Version :
Copyright : Your copyright notice
Description : Main application class
============================================================================
*/
// INCLUDE FILES
#include "NewApp11Document.h"
#include "NewApp11Application.h"
// ============================ MEMBER FUNCTIONS ===============================
// UID for the application;
// this should correspond to the uid defined in the mmp file
const TUid KUidNewApp11App = { 0xaea17b15 };
// -----------------------------------------------------------------------------
// CNewApp11Application::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CNewApp11Application::CreateDocumentL()
{
// Create an NewApp11 document, and return a pointer to it
return (static_cast<CApaDocument*>
( CNewApp11Document::NewL( *this ) ) );
}
// -----------------------------------------------------------------------------
// CNewApp11Application::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CNewApp11Application::AppDllUid() const
{
// Return the UID for the NewApp11 application
return KUidNewApp11App;
}
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?