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

📄 bluetoothdevicesearcher.h

📁 打开蓝牙
💻 H
字号:
#ifndef __BLUETOOTHDEVICESEARCHER_H__
#define __BLUETOOTHDEVICESEARCHER_H__

// System includes
#include <btextnotifiers.h>

// forward declarations
class MBluetoothObserver;

// CLASS DECLARATION
/**
*
* @class	CBluetoothDeviceSearcher BluetoothDeviceSearcher.h
* @brief	This class performs the search for Remote Bluetooth devices.
*
* It requires that a reference to a TBTDeviceResponseParamsPckg is passed through, so that it may populate this with
* device information should discovery be successful
*
* Copyright (c) EMCC Software Ltd 2003
* @version	1.0
*
*/

class CBluetoothDeviceSearcher : public CActive
	{
	public: // Constructors
		static CBluetoothDeviceSearcher* NewL(MBluetoothObserver &aBluetoothObserver);
		static CBluetoothDeviceSearcher* NewLC(MBluetoothObserver &aBluetoothObserver);
		~CBluetoothDeviceSearcher();

	private: // Constructors - Symbian 2nd stage
		CBluetoothDeviceSearcher(MBluetoothObserver &aBluetoothObserver);
		void	ConstructL();
		void	RunL();
		void	DoCancel();

	public: // Member functions
		void SelectDeviceL(TBTDeviceResponseParamsPckg& aResponse);

	private: // Member Data
		TBTDeviceResponseParamsPckg*	iResponse;
		RNotifier						iNotifier;
		MBluetoothObserver&				iObserver;
	};

#endif // __BLUETOOTHDEVICESEARCHER_H__

// End of file

⌨️ 快捷键说明

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