smsdisplaycontainer.h

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

H
64
字号
#ifndef __ASSISTANT_MESSAGEDISPLAYCONTAINER_H__
#define __ASSISTANT_MESSAGEDISPLAYCONTAINER_H__


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

class CSMSDisplayView;
class CEikColumnListBox;

class CSMSDisplayContainer : public CCoeControl
{
public: // Constructors and destructor
	
	void AddInfoToList(const TDesC& aMobile, const TDesC& aContent); //add data
	void DelInforFromList( TInt aIndex); //delete 
	void DelAllInforFromList();			//delete all

 	CSMSDisplayContainer();	
	virtual ~CSMSDisplayContainer();
	void ConstructL(const TRect& aRect,CSMSDisplayView* aView);
	TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
	TInt GetIndex();

private: 
	//
	// Functions from base classes
    void SizeChanged();
    TInt CountComponentControls() const;
    CCoeControl* ComponentControl( TInt aIndex ) const;
    void Draw( const TRect& aRect ) const;
private:
	CEikFormattedCellListBox*	m_pListBox;
	CDesCArrayFlat*		m_pListBoxArray;
	CSMSDisplayView* m_pMessageDisplayView;
};

#endif      // __ASSISTANT_MESSAGEDISPLAYCONTAINER_H__
// End of File





















⌨️ 快捷键说明

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