⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 viewmanagerdialog.h

📁 symbian视图管理者程序,对新手十分有用
💻 H
字号:
#ifndef VIEWMANAGERDIALOG_H
#define VIEWMANAGERDIALOG_H

// INCLUDES

// System includes
#include <AknForm.h>	// CAknForm

// FORWARD DECLARATIONS
class CAknQueryValueTextArray;
class CAknQueryValueText;
class CViewManagerAppUi;

// CLASS DECLARATION

/**
*
* @class	CViewManagerDialog ViewManagerDialog.h 
* @brief	This is the dialog class for a view switching example using a
* dialog based architecture.  
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/
class CViewManagerDialog : public CAknForm
	{
public: // constructors and destructor
	static CViewManagerDialog* NewL();
	static CViewManagerDialog* NewLC();
	~CViewManagerDialog();

protected:
 // constructors
	CViewManagerDialog();

	void ConstructL();

protected:	// from CAknForm
	TBool OkToExitL(TInt aButtonId);
	void PreLayoutDynInitL();
	TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType);
	void HandleControlStateChangeL(TInt aControlId);
	
	// new methods
	void LoadApplicationListArrayL();
	void LoadApplicationViewArrayL(TInt aIndex);

private: // data
	TInt iCommand;
	TInt iViewId;

	CDesCArrayFlat*				iAppNames;
	RArray<TInt>				iViewListId;
	CAknQueryValueTextArray*	iNamesValueTextArray;
	CAknQueryValueText*			iNamesValueText;

	CDesCArrayFlat*				iViewText;
	CAknQueryValueTextArray*	iViewValueTextArray;
	CAknQueryValueText*			iViewValueText;

	CViewManagerAppUi*			iAppUi; // not owned
	};

#endif	// #ifndef VIEWMANAGERDIALOG_H

// End of File

⌨️ 快捷键说明

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