conslauncherappview.h
来自「Symbian OS C++ 手机应用开发(第一卷)部分事例代码」· C头文件 代码 · 共 38 行
H
38 行
/* Copyright (c) 2003 Symbian Software Ltd. All rights reserved */
#ifndef __CONSLAUNCHER_APPVIEW_H__
#define __CONSLAUNCHER_APPVIEW_H__
#include <coecntrl.h>
#include <eiktxlbx.h>
#include <eikenv.h>
class CConsLauncherAppView : public CCoeControl
{
public:
CConsLauncherAppView();
~CConsLauncherAppView();
void ConstructL(const TRect& aRect, CDir* aCDir);
private: // from CCoeControl
CCoeControl* ComponentControl(TInt aIndex) const;
TInt CountComponentControls() const;
TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
public:
TInt GetCurrentItem();
private:
void AppendItemsL(const CDir* aFileList);
private:
CEikTextListBox* iTextListBox; // Text list box to display the file names
CDesCArray* iNamesArray; // Array owned by the text list box
};
#endif // __CONSLAUNCHER_APPVIEW_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?