diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/bluetoothinfo_8h_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/bluetoothinfo_8h_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,52 @@ + + +
+ +00001 /* +00002 * Copyright © 2008 Nokia Corporation. +00003 */ +00004 +00005 +00006 #ifndef __BLUETOOTH_INFO_H__ +00007 #define __BLUETOOTH_INFO_H__ +00008 +00009 #include <e32base.h> +00010 #include "btdiscoverer.h" +00011 +00012 // CLASS DECLARATION +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: // member data +00071 +00072 // the name of a bluetooth device +00073 TBuf <KBTDeviceLength> iDeviceName; +00074 // the address of a bluetooth device +00075 TBuf <KBTDeviceAddress> iHexAddress; +00076 }; +00077 +00078 #endif // __BLUETOOTH_INFO_H__ +