tictactoedocument.cpp

来自「symbianOS第三版开发与实用教程部分源码和部分试验」· C++ 代码 · 共 86 行

CPP
86
字号
/*
* ==============================================================================
*  Name        : TicTacToeDocument.cpp
*  Part of     : TicTacToe
*  Description : 
*  Version     : 
*
*  Copyright (c) 2005 Nokia Corporation.
* ==============================================================================
*/

// INCLUDE FILES

#include "TicTacToeAppUi.h"
#include "TicTacToeDocument.h"

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

// -----------------------------------------------------------------------------
// 
// 
// -----------------------------------------------------------------------------
//
CTicTacToeDocument* CTicTacToeDocument::NewL(CEikApplication& aApp)
    {
    CTicTacToeDocument* self = NewLC(aApp);
    CleanupStack::Pop(self);
    return self;
    }

// -----------------------------------------------------------------------------
// 
// 
// -----------------------------------------------------------------------------
//
CTicTacToeDocument* CTicTacToeDocument::NewLC(CEikApplication& aApp)
    {
    CTicTacToeDocument* self = new (ELeave) CTicTacToeDocument(aApp);
    CleanupStack::PushL(self);
    self->ConstructL();
    return self;
    }

// -----------------------------------------------------------------------------
// 
// 
// -----------------------------------------------------------------------------
//
void CTicTacToeDocument::ConstructL()
    {
    // No implementation required
    }    

// -----------------------------------------------------------------------------
// 
// 
// -----------------------------------------------------------------------------
//
CTicTacToeDocument::CTicTacToeDocument(CEikApplication& aApp) : CAknDocument(aApp) 
    {
    // No implementation required
    }   

// -----------------------------------------------------------------------------
// 
// 
// -----------------------------------------------------------------------------
//
CTicTacToeDocument::~CTicTacToeDocument()
    {
    // No implementation required
    }

// -----------------------------------------------------------------------------
// 
// 
// -----------------------------------------------------------------------------
//
CEikAppUi* CTicTacToeDocument::CreateAppUiL()
    {
    // Create the application user interface, and return a pointer to it
    return(static_cast<CEikAppUi*>(new (ELeave) CTicTacToeAppUi));
    }

//  End of File

⌨️ 快捷键说明

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