📄 autostartappview.h
字号:
/*
============================================================================
Name : AutoStartView.h
Author :
Version :
Copyright : Your copyright notice
Description : Application view
============================================================================
*/
#ifndef __AUTOSTARTAPPVIEW_H__
#define __AUTOSTARTAPPVIEW_H__
// INCLUDES
#include <coecntrl.h>
class CEikLabel;
// CLASS DECLARATION
class CAutoStartAppView : public CCoeControl
{
public: // New methods
/**
* NewL.
* Two-phased constructor.
* Create a CAutoStartAppView 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 CAutoStartAppView.
*/
static CAutoStartAppView* NewL( const TRect& aRect );
/**
* NewLC.
* Two-phased constructor.
* Create a CAutoStartAppView object, which will draw itself
* to aRect.
* @param aRect Rectangle this view will be drawn to.
* @return A pointer to the created instance of CAutoStartAppView.
*/
static CAutoStartAppView* NewLC( const TRect& aRect );
/**
* ~CAutoStartAppView
* Virtual Destructor.
*/
virtual ~CAutoStartAppView();
public: // Functions from base classes
void SetTextL( const TDesC& aText );
private: // Constructors
/**
* From CCoeControl, Draw
* Draw this CAutoStartAppView to the screen.
* @param aRect the rectangle of this view that needs updating
*/
void Draw( const TRect& aRect ) const;
/**
* From CoeControl,SizeChanged.
*/
void SizeChanged();
/**
* From CoeControl,CountComponentControls.
*/
TInt CountComponentControls() const;
/**
* From CCoeControl,ComponentControl.
*/
CCoeControl* ComponentControl(TInt aIndex) const;
/**
* ConstructL
* 2nd phase constructor.
* Perform the second phase construction of a
* CAutoStartAppView object.
* @param aRect The rectangle this view will be drawn to.
*/
void ConstructL(const TRect& aRect);
/**
* CAutoStartAppView.
* C++ default constructor.
*/
CAutoStartAppView();
private:
CEikLabel* iAutoStartLabel; // example label
};
#endif // __AUTOSTARTAPPVIEW_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -