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