bitmaprotatorcontainer.h
来自「《基于Symbian OS的手机开发与应用实践》这本书的配套源码。」· C头文件 代码 · 共 68 行
H
68 行
/*
* ============================================================================
* Name : CBitmapRotatorContainer from BitmapRotatorContainer.h
* Part of : BitmapRotator
* Created : 30.01.2006 by ToBeReplacedByAuthor
* Description:
* Declares container control for application.
* Version :
* Copyright: ToBeReplacedByCopyright
* ============================================================================
*/
#ifndef BITMAPROTATORCONTAINER_H
#define BITMAPROTATORCONTAINER_H
// INCLUDES
#include "BitmapRotatorEngine.h"
// FORWARD DECLARATIONS
class CFbsBitmap;
// CLASS DECLARATION
/**
* CBitmapRotatorContainer container control class.
*
*/
class CBitmapRotatorContainer : public CCoeControl, public CBitmapRotatorEngine::MObserver
{
public: // Constructors and destructor
/**
* EPOC default constructor.
* @param aRect Frame rectangle for container.
*/
void ConstructL(const TRect& aRect);
/**
* Destructor.
*/
~CBitmapRotatorContainer();
public: // New functions
public: // Functions from base classes
TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
public: // Functions from CBitmapRotatorEngine::MObserver
void OnCompleteL(TInt aError);
private: // Functions from base classes
/**
* From CCoeControl,Draw.
*/
void Draw(const TRect& aRect) const;
private: // member variables
CFbsBitmap* iBitmap;
CBitmapRotatorEngine* iBitmapRotatorEngine;
};
#endif
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?