00001
00002
00003
00004
00005
00006 #ifndef __BLUETOOTH_INFO_H__
00007 #define __BLUETOOTH_INFO_H__
00008
00009 #include <e32base.h>
00010 #include "btdiscoverer.h"
00011
00012
00013
00018 class TBluetoothInfo
00019 {
00020 public:
00021
00030 TBluetoothInfo(TDes& aName, TDes& aAddress);
00031
00040 void GetDeviceName(TDes& aName);
00041
00050 void GetAddressHex(TDes& aAddress);
00051
00059 void SetDeviceName(TDes& aName);
00060
00068 void SetAddressHex(TDes& aAddress);
00069
00070 private:
00071
00072
00073 TBuf <KBTDeviceLength> iDeviceName;
00074
00075 TBuf <KBTDeviceAddress> iHexAddress;
00076 };
00077
00078 #endif // __BLUETOOTH_INFO_H__