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

📄 countdownappui.h

📁 《基于symbian手机开发与应用》一书的源代码
💻 H
字号:
/*
* ============================================================================
*  Name     : CCountDownAppUi from CountDownAppUi.h
*  Part of  : CountDown
*  Created  : 2005-8-29 by 
*  Description:
*     Declares UI class for application.
*  Version  :
*  Copyright: 
* ============================================================================
*/

#ifndef COUNTDOWNAPPUI_H
#define COUNTDOWNAPPUI_H

// INCLUDES
#include <CountDown.hrh>
#include <eikapp.h>
#include <eikdoc.h>
#include <e32std.h>
#include <coeccntx.h>
#include <aknappui.h>

#include "CountDownDB.h"

// FORWARD DECLARATIONS
class CCountDownContainer;

// CONSTANTS
//const ?type ?constant_var = ?constant;

// CLASS DECLARATION
/**
* Application UI class.
* Provides support for the following features:
* - EIKON control architecture
* 
*/
class CCountDownAppUi : public CAknAppUi
{
public: // // Constructors and destructor
	
        /**
        * EPOC default constructor.
	*/      
	void ConstructL();
	
	/**
	* Destructor.
	*/      
	~CCountDownAppUi();
	
public: // Functions from base classes
	
private:
	// From MEikMenuObserver
	void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);
	
private:
/**
* From CEikAppUi, takes care of command handling.
* @param aCommand command to be handled
	*/
	void HandleCommandL(TInt aCommand);
	
	/**
	* From CEikAppUi, handles key events.
	* @param aKeyEvent Event to handled.
	* @param aType Type of the key event. 
	* @return Response code (EKeyWasConsumed, EKeyWasNotConsumed). 
	*/
	virtual TKeyResponse HandleKeyEventL(
		const TKeyEvent& aKeyEvent,TEventCode aType);
	
private: //Data
	CCountDownContainer* iAppContainer; 
public:
	CCountDownDB *iDB;
	TFunctionId iCurFunctionId;
};

#endif

// End of File

⌨️ 快捷键说明

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