titlepaneview1.h

来自「详细演示了symbian中标题面板的设置程序。很使用的程序」· C头文件 代码 · 共 59 行

H
59
字号
#ifndef __TITLEPANE_VIEW1_H__
#define __TITLEPANE_VIEW1_H__

//INCLUDES

// System includes
#include <aknview.h>	// CAknView

// FORWARD DECLARATIONS

class CTitlePaneContainer1;

/**
*
* @class	CTitlePaneView1 TitlePaneView1.h
* @brief	This is a view class for the TitlePane example based on the
* Series 60 view switching architecture.  It allows the user to change
* the visibility of the status pane.
*
* Copyright (c) EMCC Software Ltd 2003
* @version	1.0
*
*/
class CTitlePaneView1: public CAknView
	{
public: // constructors and destructor

	static CTitlePaneView1* NewL();
	static CTitlePaneView1* NewLC();
	~CTitlePaneView1();

private: // from CAknView

	TUid Id() const;
	void HandleCommandL(TInt aCommand);

	void DoActivateL(
		const TVwsViewId& aPrevViewId,
		TUid aCustomMessageId,
		const TDesC8& aCustomMessage);

	void DoDeactivate();

	void HandleStatusPaneSizeChange();

private: // constructors

	void ConstructL();

private: // data

	CTitlePaneContainer1* iContainer; // what this view will display
	TUid iId;
	};

#endif	// __TITLEPANE_VIEW1_H__

// End of File

⌨️ 快捷键说明

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