chvappview.h

来自「一个关于symbian下文本编辑器的源码程序」· C头文件 代码 · 共 53 行

H
53
字号
/*
 * HView [c]2004 Marcin Skoczylas, All rights reserved
 *
 * This file is under GPL license, see gpl.txt file
 *
 */

#ifndef __HVAPPVIEW__
#define __HVAPPVIEW__

#include <aknview.h>

class CHVAppUi;

const TUid KAppViewId = {1};

class CHVContainer;

class CHVAppView : public CAknView
{
public:
	CHVAppView();
	void ConstructL(CHVAppUi *appUi);
	virtual ~CHVAppView();

	// from CAknView, Returns the ID of view.
	TUid Id() const;
	
	//from CAknView, Handles the commands.
	void HandleCommandL(TInt aCommand);

	//from CAknView, Handles the clientrect.
	void HandleClientRectChange();

private:

	//from CAknView, Creates the Container class object.
	void DoActivateL(const TVwsViewId& /*aPrevViewId*/,
					 TUid /*aCustomMessageId*/,
					 const TDesC8& /*aCustomMessage*/);

	//from AknView, Deletes the Container class object.
	void DoDeactivate();
	void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);

public: // Data
	CHVContainer *iContainer;
	CHVAppUi *appUi;

};

#endif //__HVAPPVIEW__

⌨️ 快捷键说明

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