docs/ikteam: Delete most files.
[haiku.git] / src / preferences / bluetooth / BluetoothDeviceView.h
blob48a9a0e4fdbae8af853f1d3f7f091043b1af4cb5
1 /*
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.
4 */
5 #ifndef BLUETOOTHDEVICEVIEW_H_
6 #define BLUETOOTHDEVICEVIEW_H_
8 #include <Box.h>
9 #include <Bitmap.h>
10 #include <Invoker.h>
11 #include <Message.h>
12 #include <View.h>
14 #include <bluetooth/BluetoothDevice.h>
17 class BStringView;
18 class BitmapView;
20 class BluetoothDeviceView : public BView
22 public:
23 BluetoothDeviceView(BluetoothDevice* bDevice,
24 uint32 flags = B_WILL_DRAW);
25 ~BluetoothDeviceView();
27 void SetBluetoothDevice(BluetoothDevice* bDevice);
29 virtual void MessageReceived(BMessage* message);
30 virtual void SetTarget(BHandler* target);
31 virtual void SetEnabled(bool value);
33 protected:
34 BluetoothDevice* fDevice;
36 BStringView* fName;
37 BStringView* fBdaddr;
38 BStringView* fClassService;
39 BStringView* fClass;
41 BStringView* fHCIVersionProperties;
42 BStringView* fLMPVersionProperties;
43 BStringView* fManufacturerProperties;
45 BStringView* fACLBuffersProperties;
46 BStringView* fSCOBuffersProperties;
48 BView* fIcon;
52 #endif