libroot/posix/stdio: Remove unused portions.
[haiku.git] / src / preferences / bluetooth / ExtendedLocalDeviceView.h
blob31a8077fcfa29af2be5be9a3b57e7c41b872708a
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 EXTENDEDLOCALDEVICEVIEW_H_
6 #define EXTENDEDLOCALDEVICEVIEW_H_
8 #include <View.h>
9 #include <Message.h>
10 #include <Invoker.h>
11 #include <Box.h>
12 #include <Bitmap.h>
14 #include <bluetooth/LocalDevice.h>
16 #include "BluetoothDeviceView.h"
18 class BStringView;
19 class BitmapView;
20 class BCheckBox;
22 class ExtendedLocalDeviceView : public BView
24 public:
25 ExtendedLocalDeviceView(LocalDevice* bDevice,
26 uint32 flags = B_WILL_DRAW);
27 ~ExtendedLocalDeviceView();
29 void SetLocalDevice(LocalDevice* lDevice);
32 virtual void MessageReceived(BMessage* message);
33 virtual void AttachedToWindow();
34 virtual void SetTarget(BHandler* target);
35 virtual void SetEnabled(bool value);
36 void ClearDevice();
38 protected:
39 LocalDevice* fDevice;
40 BCheckBox* fAuthentication;
41 BCheckBox* fDiscoverable;
42 BCheckBox* fVisible;
43 BluetoothDeviceView* fDeviceView;
44 uint8 fScanMode;
49 #endif