animationcontainer.h

来自「series60 应用程序开发的源代码 series60 应用程序开发的源代码」· C头文件 代码 · 共 45 行

H
45
字号
#ifndef __ANIMATIONCONTAINER_H__
#define __ANIMATIONCONTAINER_H__

// INCLUDES

#include <coecntrl.h>    // CCoeControl

// FORWARD DECLARATIONS
class CAknBitmapAnimation;

// CLASS DECLARATION

/**
 *
 * @class    CAnimationContainer AnimationContainer.h 
 * @brief    This is a container class for the CAknBitmapAnimation class allowing it to
 * display the animation.
 *
 * Copyright (c) EMCC Software Ltd 2003
 * @version    1.0
 * 
 */

class CAnimationContainer : public CCoeControl
{
public: // constructors and destructor

    static CAnimationContainer* NewL(const TRect& aRect);
    static CAnimationContainer* NewLC(const TRect& aRect);
    ~CAnimationContainer();
    void StartAnimationL();
    void CancelAnimation();

private: // constructor

    void ConstructL(const TRect& aRect);

private: // data
    CAknBitmapAnimation* iAnimation;
};

#endif    // __ANIMATIONCONTAINER_H__

// End of File

⌨️ 快捷键说明

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