registercontainer.h
来自「symbian 2rd 备忘录」· C头文件 代码 · 共 69 行
H
69 行
#ifndef __ASSISTANT_REGISTERCONTAINER_H__
#define __ASSISTANT_REGISTERCONTAINER_H__
// INCLUDES
#include <aknview.h>
#include <AknSettingItemList.h> //for CAknSettingItemList
#include <aplistitemlist.h>
#include <eiklabel.h>
#include <eikedwin.h>
#define MEMORY_FREE(a) if(a){delete a; a=NULL;}
class CEiklabel;
class CEikEDwin;
class CRegisterContainer : public CCoeControl
{
public: // Constructors and destructor
void SetStatus(TInt aStatus);
void GetData(TDes& aName, TDes& aPsw1, TDes& aPsw2);
CRegisterContainer();
virtual ~CRegisterContainer();
void ConstructL(const TRect& aRect);
TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
private:
//
// Functions from base classes
void SizeChanged();
TInt CountComponentControls() const;
CCoeControl* ComponentControl( TInt aIndex ) const;
void Draw( const TRect& aRect ) const;
private:
CEikLabel* m_pLabelName;
CEikLabel* m_pLabelPsw1;
CEikLabel* m_pLabelPsw2;
CEikEdwin* m_pEditName;
CAknNumericSecretEditor* m_pEditPsw1;
CAknNumericSecretEditor* m_pEditPsw2;
TInt m_Status;
};
#endif // __ASSISTANT_REGISTERCONTAINER_H__
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?