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

📄 symbian4view2.h

📁 S60 3版 音乐播放器及进度条实现 功能:前后倒放歌曲及暂停等功能
💻 H
字号:
/*
============================================================================
Name        : CSymbian4View2 from Symbian3View2.h
Author      : 
Version     :
Copyright   : Your copyright notice
Description : Declares view for application.
============================================================================
*/

#ifndef SYMBIAN3VIEW2_H
#define SYMBIAN3VIEW2_H

// INCLUDES
#include <aknview.h>
#include "MyStone.h"

// CONSTANTS
// UID of view
const TUid KView2Id = {2};

// FORWARD DECLARATIONS
class CSymbian4Container2;

// CLASS DECLARATION

/**
*  CSymbian4View2 view class.
* 
*/
class CSymbian4View2 : public CAknView
{
public: // Constructors and destructor

	CSymbian4View2();

	/**
	* EPOC default constructor.
	*/
	void ConstructL();

	/**
	* Destructor.
	*/
	~CSymbian4View2();

public: // Functions from base classes

	/**
	* From CAknView returns Uid of View
	* @return TUid uid of the view
	*/
	TUid Id() const;

	/**
	* From MEikMenuObserver delegate commands from the menu
	* @param aCommand a command emitted by the menu 
	* @return void
	*/
	void HandleCommandL(TInt aCommand);

	/**
	* From CAknView reaction if size change
	* @return void
	*/
	void HandleClientRectChange();

private:

	/**
	* From CAknView activate the view
	* @param aPrevViewId 
	* @param aCustomMessageId 
	* @param aCustomMessage 
	* @return void
	*/
	void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
		const TDesC8& aCustomMessage);

	/**
	* From CAknView deactivate the view (free resources)
	* @return void
	*/
	void DoDeactivate();
private:
	static CSymbian4View2* NewL();
	static CSymbian4View2* NewLC();

private: // Data
	CSymbian4Container2* iContainer;

	CMyStone*   iStone;

	TBool     ibool;
};

#endif


⌨️ 快捷键说明

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