www.pudn.com > Example_BluetoothChat.rar > BluetoothObserver.h
#ifndef __BLUETOOTHOBSERVER_H__
#define __BLUETOOTHOBSERVER_H__
// CLASS DECLARATION
/**
*
* @class MBluetoothObserver BluetoothObserver.h
* @brief This class provides a mechanism for passing feedback to the UI in Bluetooth Communications
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*
*/
class MBluetoothObserver
{
public:
virtual void ServerStartedL() = 0;
virtual void DataReceivedL(const TDesC& aMessage) = 0;
virtual void ConnectedL() = 0;
virtual void HandleErrorL(TInt aErrorCode) = 0;
virtual void DeviceFoundL(TInt aResult) = 0;
};
#endif // __BLUETOOTHOBSERVER_H__