bthostnotify.h
来自「S60培训教材代码(连载)」· C头文件 代码 · 共 45 行
H
45 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?