bluetoothdevicesearcher.h

来自「symbianOS第三版开发与实用教程部分源码和部分试验」· C头文件 代码 · 共 34 行

H
34
字号
#ifndef BLUETOOTHDEVICESEARCHER_H_
#define BLUETOOTHDEVICESEARCHER_H_
// System includes
#include <btextnotifiers.h>

// forward declarations
class MBluetoothObserver;

// CLASS DECLARATION


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_*/

⌨️ 快捷键说明

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