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