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

📄 threadaoappui.h

📁 Series_60_DP_1_0_2_0_Thread_And_Active_Objects_Example_v1_0 Symbian os S60线程与活动对象实例
💻 H
字号:
/*
* ============================================================================
*  Name     : CThreadAOAppUi from ThreadAOAppUi.h
*  Part of  : ThreadAO
*  Created  : 12.1.2005 by Forum Nokia
*  Description:
*      Declares UI class for application.
*  Version  : 1.0
*  Copyright: Nokia Corporation
* ============================================================================
*/

#ifndef __THREADAO_APPUI_H__
#define __THREADAO_APPUI_H__

// INCLUDES
#include <aknappui.h>

// FORWARD DECLARATIONS
class CThreadAOEngine;
class CDeviceListContainer;
class CSharedIntermediator;
class CListboxRefreshTimer;

// CLASS DECLARATION

/**
* An instance of class CThreadAppUi is the UserInterface part of the AVKON
* application framework for the Thread example application
*/
class CThreadAOAppUi : public CAknAppUi
    {
public:

/*!
*  ConstructL()
*  
*  discussion Perform the second phase construction of a CThreadAOAppUi object.
*  This needs to be public due to the way the framework constructs the AppUi 
*/
    void ConstructL();

/*!
*  CThreadAOAppUi()
*  
*  discussion Perform the first phase of two phase construction.
*  This needs to be public due to the way the framework constructs the AppUi 
*/
    CThreadAOAppUi();

/*!
* ~CThreadAOAppUi
*  
*  discussion Destroy the object
*/
    ~CThreadAOAppUi();

public: // from CAknAppUi
/*!
* HandleCommandL()
*  
*  discussion Handle user menu selections
*  param aCommand The enumerated code for the option selected
*/
    void HandleCommandL(TInt aCommand);

private:  //member data

	// Container of the view
	CDeviceListContainer* iContainer;

	// Shared intermediator. Transmits data between thread1 and the mainthread
	CSharedIntermediator* iSMediator;

	// Thread engine
	CThreadAOEngine* iThreadEngine;

	// True if the bluetooth search has been activated, false otherwise
	TBool iThreadStarted;

	// Listbox refresher
	CListboxRefreshTimer* iTimer;
	};

#endif // __THREAD_APPUI_H__

⌨️ 快捷键说明

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