viewmanagerdialog.h
来自「最新官方例子,图形,描述副,基本控件,通讯协议,等等,」· C头文件 代码 · 共 67 行
H
67 行
#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 + =
减小字号Ctrl + -
显示快捷键?