📄 bitmaprotatorengine.h
字号:
/*
* ============================================================================
* Name : CBitmapRotatorEngine from BitmapRotatorEngine.h
* Part of : BitmapRotator
* Created : 30.01.2006 by ToBeReplacedByAuthor
* Description:
* Declares engine for application.
* Version :
* Copyright: ToBeReplacedByCopyright
* ============================================================================
*/
#ifndef BITMAPROTATORENGINE_H
#define BITMAPROTATORENGINE_H
// INCLUDES
#include <e32std.h>
#include <e32base.h>
#include <bitmaptransforms.h>
// CONSTANTS
// FORWARD DECLARATIONS
class CFbsBitmap;
// CLASS DECLARATION
/**
* CBitmapRotatorEngine application class.
*/
class CBitmapRotatorEngine : public CActive
{
public: // observer interface
class MObserver
{
public:
virtual void OnCompleteL(TInt aError) = 0;
};
public: // Constructors and destructor
/**
* Two-phased constructor.
*/
static CBitmapRotatorEngine* NewL(MObserver& aObserver);
/**
* Destructor.
*/
~CBitmapRotatorEngine();
public: // New functions
void Rotate(CFbsBitmap& aBitmap,
CBitmapRotator::TRotationAngle aRotation);
protected: // Functions from CActive
void RunL();
void DoCancel();
private: // New functions
/**
* EPOC default constructor.
*/
CBitmapRotatorEngine(MObserver& aObserver);
void ConstructL();
private: // member variables
MObserver& iObserver;
CBitmapRotator* iBitmapRotator;
};
#endif
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -