examples/ForumNokia/ThreadAndActiveObjectsEx/inc/bluetoothinfo.h

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__

Generated by  doxygen 1.6.2