TetrisDocument.h
上传用户:snevogroup
上传日期:2008-06-06
资源大小:432k
文件大小:1k
- #ifndef __TETRISDOCUMENT_H__
- #define __TETRISDOCUMENT_H__
- // INCLUDES
- #include <akndoc.h>
- class CGameTetris;
- // CLASS DECLARATION
- class CTetrisDocument : public CAknDocument
- {
- // Constructors and destructor
- public:
- /// Two-phased constructor.
- static CTetrisDocument* NewL(CEikApplication& aApp);
- static CTetrisDocument* NewLC(CEikApplication& aApp);
- /// Destructor.
- ~CTetrisDocument();
- private:
- /// Default constructor
- CTetrisDocument(CEikApplication& aApp);
- /// Second phase constructor
- void ConstructL();
- /////////////////////////////////////////////////////////////////////////////////
- // Other method
- private:
- // From CEikDocument:
- /// Create CTetrisAppUi "App UI" object.
- CEikAppUi* CreateAppUiL();
- public:
- CGameTetris* Model();
- //////////////////////////////////////////////////////////////////////////////////
- // data
- private:
- CGameTetris* iGame;
- };
- #endif