📄 btclientnotify.h
字号:
/* Copyright (c) 2002, Nokia Mobile Phones. All rights reserved */
#ifndef __BTCLIENTTNOTIFY_H__
#define __BTCLIENTTNOTIFY_H__
/*!
@class BTHostNotify
@discussion used to notify concrete implementations of host events.
*/
class MBTClientNotify
{
public:
/*!
@function HostConnected
@discussion called on the client device when the client connects to the host
@param aError the status code of the connection
*/
virtual void HostConnected(TInt aError) = 0;
/*!
@function HostDataRead
@discussion called on client device when data is read from the host.
@param aData the data received
*/
virtual void HostDataRead(const TDesC8& aData) = 0;
/*!
@function HostDisconnected
@discussion called on client device when the connection with the host is broken
@param aError the status code of the disconnection
*/
virtual void HostDisconnected(TInt aError) = 0;
};
#endif // __BTHOSTNOTIFY_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -