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