2 * Copyright 2009, Oliver Ruiz Dorantes, <oliver.ruiz.dorantes_at_gmail.com>
3 * All rights reserved. Distributed under the terms of the MIT License.
5 #ifndef DEVICELISTITEM_H_
6 #define DEVICELISTITEM_H_
11 #include <bluetooth/bluetooth.h>
12 #include <bluetooth/DeviceClass.h>
14 class BluetoothDevice
;
18 class DeviceListItem
: public BListItem
21 DeviceListItem(BluetoothDevice
* bDevice
);
25 void DrawItem(BView
*, BRect
, bool = false);
26 void Update(BView
* owner
, const BFont
* font
);
28 static int Compare(const void* firstArg
, const void* secondArg
);
29 void SetDevice(BluetoothDevice
* bDevice
);
30 BluetoothDevice
* Device() const;
33 BluetoothDevice
* fDevice
;