TicTacToeDocument.h
上传用户:laixiong
上传日期:2007-03-11
资源大小:2994k
文件大小:2k
- /*
- * ==============================================================================
- * Name : TicTacToeDocument.h
- * Part of : TicTacToe
- * Interface :
- * Description :
- * Version :
- *
- * Copyright (c) 2005 Nokia Corporation.
- * ==============================================================================
- */
- #ifndef __TICTACTOE_DOCUMENT_H__
- #define __TICTACTOE_DOCUMENT_H__
- // INCLUDES
- #include <akndoc.h>
- // FORWARD DECLARATIONS
- class CTicTacToeAppUi;
- class CEikApplication;
- // CLASS DECLARATION
- /**
- * An instance of class CTicTacToeDocument is the Document part of the AVKON
- * application framework for the TicTacToe application.
- */
- class CTicTacToeDocument : public CAknDocument
- {
- public:
- /**
- * Construct a CTicTacToeDocument for the AVKON application aApp using
- * two phase construction, and return a pointer to the created object.
- * @param aApp application creating this document
- * @result A pointer to the created instance of CTicTacToeDocument
- */
- static CTicTacToeDocument* NewL(CEikApplication& aApp);
- /**
- * Construct a CTicTacToeDocument for the AVKON application aApp using
- * two phase construction, and return a pointer to the created object.
- * @param aApp application creating this document
- * @result A pointer to the created instance of CTicTacToeDocument
- */
- static CTicTacToeDocument* NewLC(CEikApplication& aApp);
- /**
- * Destroy the object;
- */
- ~CTicTacToeDocument();
- /**
- * Create a CTicTacToeAppUi object and return a pointer to it.
- * @result A pointer to the created instance of the AppUi created
- */
- CEikAppUi* CreateAppUiL();
- private:
- /**
- * Perform the second phase construction of a CTicTacToeDocument object.
- */
- void ConstructL();
- /**
- * Perform the first phase of two phase construction.
- * @param aApp application creating this document
- */
- CTicTacToeDocument(CEikApplication& aApp);
- };
- #endif // __TICTACTOE_DOCUMENT_H__
- // End of File