Assorted whitespace cleanup and typo fixes.
[haiku.git] / src / preferences / bluetooth / BluetoothDeviceView.h
blob652ec9769d23a29dfe9d547298c9c043d56045fc
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(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);
34 protected:
35 BluetoothDevice* fDevice;
37 BStringView* fName;
38 BStringView* fBdaddr;
39 BStringView* fClassService;
40 BStringView* fClass;
42 BStringView* fHCIVersionProperties;
43 BStringView* fLMPVersionProperties;
44 BStringView* fManufacturerProperties;
46 BStringView* fACLBuffersProperties;
47 BStringView* fSCOBuffersProperties;
49 BView* fIcon;
53 #endif