animationappview.h

来自「symbian,使用dll服务捕获按键,比设置优先级更能提高按键响应.」· C头文件 代码 · 共 71 行

H
71
字号
/* Copyright (c) 2004, Nokia. All rights reserved */


#ifndef __ANIMATIONAPPVIEW_H__
#define __ANIMATIONAPPVIEW_H__

// INCLUDES
#include <coecntrl.h>

/**
* CAnimationAppView.
* An instance of the Application View object for the Animation.
* example application.
*/
class CAnimationAppView : public CCoeControl
    {
    public:  // Constructors and destructor

        /**
        * NewL.
        * Two-phased constructor.
        * Create a CAnimationAppView object, which will draw itself to aRect.
        * @param aRect The rectangle this view will be drawn to.
        * @return A pointer to the created instance of CAnimationAppView.
        */
        static CAnimationAppView* NewL( const TRect& aRect );

        /**
        * NewLC.
        * Two-phased constructor.
        * Create a CAnimationAppView object, which will draw itself to aRect.
        * @param aRect Rectangle this view will be drawn to.
        * @return A pointer to the created instance of CAnimationAppView.
        */
        static CAnimationAppView* NewLC( const TRect& aRect );

        /**
        * ~CAnimationAppView
        * Virtual Destructor.
        */
        virtual ~CAnimationAppView();

    public:  // from CCoeControl

        /**
        * Draw
        * Draw this CAnimationAppView to the screen.
        * @param aRect the rectangle of this view that needs updating.
        */
        void Draw( const TRect& /*aRect*/ ) const;

    private: // Constructors

        /**
        * CAnimationAppView.
        * C++ default constructor.
        */
        CAnimationAppView();

        /**
        * ConstructL
        * 2nd phase constructor.
        * Perform the second phase construction of a CAnimationAppView object.
        * @param aRect The rectangle this view will be drawn to.
        */
        void ConstructL( const TRect& aRect );
    };

#endif //__ANIMATIONAPPVIEW_H__

// End of File

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?