testmtmsappui.h

来自「本例是SYMBIAN C++一个创建短信的例子」· C头文件 代码 · 共 71 行

H
71
字号
/*
 ============================================================================
 Name		: TestMtmsAppUi.h
 Author	  : Tomken
 Copyright   : (C) 2008-2009
 Description : Declares UI class for application.
 ============================================================================
 */

#ifndef __TESTCONTACTAPPUI_h__
#define __TESTCONTACTAPPUI_h__

// INCLUDES
#include <aknappui.h>
#include "NqMtmsEngine.h"

// FORWARD DECLARATIONS
class CTestMtmsAppView;


// CLASS DECLARATION
/**
 * CTestMtmsAppUi application UI class.
 * Interacts with the user through the UI and request message processing
 * from the handler class
 */
class CTestMtmsAppUi : public CAknAppUi
	{
public:
	// Constructors and destructor

	/**
	 * ConstructL.
	 * 2nd phase constructor.
	 */
	void ConstructL();

	/**
	 * CTestMtmsAppUi.
	 * C++ default constructor. This needs to be public due to
	 * the way the framework constructs the AppUi
	 */
	CTestMtmsAppUi();

	/**
	 * ~CTestMtmsAppUi.
	 * Virtual Destructor.
	 */
	virtual ~CTestMtmsAppUi();
	
private:
	void HandleMtmsEngineInitialized();
	

private:
	void HandleCommandL(TInt aCommand);
	void HandleWsEventL(const TWsEvent &aEvent, CCoeControl *aDestination);
	void HandleForegroundEventL( TBool aForeground );

public:
	static CTestMtmsAppUi* GetPicaAppUi();

private:
	CTestMtmsAppView* iAppView;
};

#define iTestAppUi (CTestMtmsAppUi::GetPicaAppUi())

#endif // __TESTCONTACTAPPUI_h__
// End of File

⌨️ 快捷键说明

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