📄 smsdisplaycontainer.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -