TetrisContainer.h
上传用户:snevogroup
上传日期:2008-06-06
资源大小:432k
文件大小:1k
- #ifndef __TETRISCONTAINER_H
- #define __TETRISCONTAINER_H
- #include <coecntrl.h>
- class CEngine;
- class CTetrisDocument;
- class CTetrisContainer : public CCoeControl, MCoeForegroundObserver
- {
- public:
- ~CTetrisContainer();
- void ConstructL(const TRect& aRect);
- CTetrisContainer(CTetrisDocument* aDocument);
- ////////////////////////////////////////////////////////////////////////
- // Method from parent
- // From MCoeForegroundObserver
- private:
- void HandleGainingForeground();
- void HandleLosingForeground();
- // Other method
- private:
- void SetFullScreen();
- public:
- void Command( TInt aCommand );
- /////////////////////////////////////////////////////////////////////////
- // data
- private:
- CTetrisDocument* iDocument; // use
- public:
- CEngine* iEngine; // has a
- };
- #endif