⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tictactoeapplication.cpp

📁 《Symbian S60第3版手机程序开发与实用教程》光盘源代码
💻 CPP
字号:
/*
* ==============================================================================
*  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 = { 0x102753ED }; 

// ============================ 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -