loadcontainer.h

来自「symbian 2rd 备忘录」· C头文件 代码 · 共 63 行

H
63
字号
#ifndef __ASSISTANT_LoadCONTAINER_H__
#define __ASSISTANT_LoadCONTAINER_H__


// INCLUDES
#include <aknview.h>
#include <AknSettingItemList.h>		//for CAknSettingItemList
#include <aplistitemlist.h>	


#define MEMORY_FREE(a) if(a){delete a; a=NULL;}

class CEiklabel;
class CEikEDwin;
class CAknNumericSecretEditor;

class CLoadContainer : public CCoeControl
{
public: // Constructors and destructor
 	CLoadContainer();	
	virtual ~CLoadContainer();
	void ConstructL(const TRect& aRect);
	TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
	void GetData(TDes& aName,TDes& aPsw);
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_pLabelPsw;
	CEikEdwin*          m_pEditName;
	CAknNumericSecretEditor* m_pEditPsw;
};

#endif      // __ASSISTANT_LoadCONTAINER_H__
// End of File





















⌨️ 快捷键说明

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