TicTacToeDocument.cpp
上传用户:laixiong
上传日期:2007-03-11
资源大小:2994k
文件大小:2k
- /*
- * ==============================================================================
- * 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