2 * Copyright 2008-09, Oliver Ruiz Dorantes, <oliver.ruiz.dorantes_at_gmail.com>
3 * All rights reserved. Distributed under the terms of the MIT License.
5 #ifndef BLUETOOTHDEVICEVIEW_H_
6 #define BLUETOOTHDEVICEVIEW_H_
14 #include <bluetooth/BluetoothDevice.h>
20 class BluetoothDeviceView
: public BView
23 BluetoothDeviceView(BRect frame
, BluetoothDevice
* bDevice
,
24 uint32 resizingMode
= B_FOLLOW_LEFT
| B_FOLLOW_TOP
,
25 uint32 flags
= B_WILL_DRAW
);
26 ~BluetoothDeviceView(void);
28 void SetBluetoothDevice(BluetoothDevice
* bDevice
);
30 virtual void MessageReceived(BMessage
* message
);
31 virtual void SetTarget(BHandler
* target
);
32 virtual void SetEnabled(bool value
);
35 BluetoothDevice
* fDevice
;
39 BStringView
* fClassService
;
42 BStringView
* fHCIVersionProperties
;
43 BStringView
* fLMPVersionProperties
;
44 BStringView
* fManufacturerProperties
;
46 BStringView
* fACLBuffersProperties
;
47 BStringView
* fSCOBuffersProperties
;