www.pudn.com > BluetoothChat.rar > BluetoothDeviceSearcher.h


#ifndef BLUETOOTHDEVICESEARCHER_H_ 
#define BLUETOOTHDEVICESEARCHER_H_ 
// System includes 
#include  
 
// 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_*/