tictactoeapplication.cpp
来自「symbianOS第三版开发与实用教程部分源码和部分试验」· C++ 代码 · 共 47 行
CPP
47 行
/*
* ==============================================================================
* Name : TicTacToeApplication.cpp
* Part of : TicTacToe
* Description :
* Version :
*
* Copyright (c) 2005 Nokia Corporation.
* ==============================================================================
*/
// INCLUDE FILES
#include "TicTacToeDocument.h"
#include "TicTacToeApplication.h"
// CONSTANTS
// UID for the application; this should correspond to the uid defined in the mmp file
const TUid KUidTicTacToeApp = { 0xE02753ED };
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CTicTacToeApplication::CreateDocumentL
// Create a CApaDocument object and return a pointer to it.
// -----------------------------------------------------------------------------
//
CApaDocument* CTicTacToeApplication::CreateDocumentL()
{
// Create an HelloWorldPlus document, and return a pointer to it
return (static_cast<CApaDocument*>(CTicTacToeDocument::NewL(*this)));
}
// -----------------------------------------------------------------------------
// CTicTacToeApplication::AppDllUid
// Return the application DLL UID value.
// -----------------------------------------------------------------------------
//
TUid CTicTacToeApplication::AppDllUid() const
{
// Return the UID for the HelloWorldPlus application
return KUidTicTacToeApp;
}
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?