bookdisplaycontainer.h

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

H
65
字号
#ifndef __ASSISTANT_BOOKDISPLAYCONTAINER_H__
#define __ASSISTANT_BOOKDISPLAYCONTAINER_H__


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



class CAknSelectionListDialog;

class CBookDisplayContainer : public CCoeControl
{
public: // Constructors and destructor
 	CBookDisplayContainer();	
	virtual ~CBookDisplayContainer();
	void ConstructL(const TRect& aRect);
	TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
	
	TInt GetIndex();
	void AddInfoToList(CBookInfo* aBookInfo);
	void DelInfoFromList(TInt aIndex);
	
private: 
	//
	// Functions from base classes
    void SizeChanged();
    TInt CountComponentControls() const;
    CCoeControl* ComponentControl( TInt aIndex ) const;
    void Draw( const TRect& aRect ) const;
	void SizeChangedForFindBox();

private:
	CEikColumnListBox*			m_pListBox;
	CAknSearchField*			m_pFindBox;
	CDesCArrayFlat*				m_pBookArray;
};

#endif      // __ASSISTANT_BOOKDISPLAYCONTAINER_H__
// End of File





















⌨️ 快捷键说明

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