bluetoothreqhandler.h

来自「蓝牙开发例子拉拉拉拉 蓝牙开发例子拉拉拉拉」· C头文件 代码 · 共 49 行

H
49 行
字号
/*
============================================================================
 Name        : BluetoothReqHandler.h
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : Simple AO example to make an async request to the server.
============================================================================
*/

#ifndef __BLUETOOTHREQHANDLER_H__
#define __BLUETOOTHREQHANDLER_H__

#include <e32base.h>
#include "BluetoothServerSession.h"

class CBluetoothReqHandler : public CActive
	{

	public:

		static CBluetoothReqHandler* NewL();
		static CBluetoothReqHandler* NewLC();
		virtual ~CBluetoothReqHandler();

	public: // New functions

		void RequestTime();
		void CancelRequest() ;
		TTime Time() const;

	protected: // Functions from base classes

		void RunL();
		void DoCancel();

	private:

		CBluetoothReqHandler();
		void ConstructL();

	private: // Data

		RBluetoothServerSession iSession;
		TTime iTime;

	};
#endif //__BLUETOOTHREQHANDLER_H__

⌨️ 快捷键说明

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