Assorted whitespace cleanup and typo fixes.
[haiku.git] / src / preferences / bluetooth / RemoteDevicesView.h
blobb13ae3c160504e239ed1c8020bd5dce098a035ab
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 REMOTE_DEVICES_VIEW_H_
6 #define REMOTE_DEVICES_VIEW_H_
8 #include <View.h>
9 #include <ColorControl.h>
10 #include <Message.h>
11 #include <ListItem.h>
12 #include <ListView.h>
13 #include <Button.h>
14 #include <ScrollView.h>
15 #include <ScrollBar.h>
16 #include <String.h>
17 #include <Menu.h>
18 #include <MenuField.h>
19 #include <MenuBar.h>
20 #include <MenuItem.h>
21 #include <StringView.h>
22 #include <Invoker.h>
25 class RemoteDevicesView : public BView
27 public:
28 RemoteDevicesView(const char *name, uint32 flags);
29 ~RemoteDevicesView(void);
30 void AttachedToWindow(void);
31 void MessageReceived(BMessage *msg);
33 void LoadSettings(void);
34 bool IsDefaultable(void);
36 protected:
38 void SetCurrentColor(rgb_color color);
39 void UpdateControls();
40 void UpdateAllColors();
42 BButton* addButton;
43 BButton* removeButton;
44 BButton* pairButton;
45 BButton* disconnectButton;
46 BButton* blockButton;
47 BButton* availButton;
48 BListView* fDeviceList;
49 BScrollView* fScrollView;
54 #endif