maincontainer.h

来自「symbian HTTP 协议的一个实例程序 本人参与制作 功能是将电话本上传到」· C头文件 代码 · 共 66 行

H
66
字号
#ifndef __MAINCONTAINER_H__
#define __MAINCONTAINER_H__

// INCLUDES
#include <aknview.h>
#include <eiklbo.h> // MEikListBoxObserver

#include "Common.h"
class CAknColumnListBox;

class CMainContainer : public CCoeControl,
						public MEikListBoxObserver
{
public: // Constructors and destructor
 	CMainContainer();	
	virtual ~CMainContainer();
	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: // from MEikListBoxObserver
	void	HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aListBoxEvent);

public:
	void	AddInfotolist(const TDesC& aIcon, const TDesC& aName);
	void	HandleMarkCommandL(TInt aCommand);
	void    GetSelectedL();

//	void	LoadSavedGamesL(CDesCArray& aSavedGamesArray);

private:
	CAknColumnListBox*	m_pListBox;
	CDesCArrayFlat*		m_pListBoxArray;
public:
	RArray<TInt>		m_sIndicesArray;
};

#endif      // __LoginCONTAINER_H__
// End of File





















⌨️ 快捷键说明

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