vfs: check userland buffers before reading them.
[haiku.git] / src / preferences / bluetooth / BluetoothWindow.h
blob71e8fc585402bc4010832ff2c8230dbd353d80fc
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 */
6 #ifndef BLUETOOTH_WINDOW_H
7 #define BLUETOOTH_WINDOW_H
9 #include "BluetoothSettingsView.h"
11 #include <Application.h>
12 #include <Button.h>
13 #include <Window.h>
14 #include <Message.h>
15 #include <TabView.h>
17 class BluetoothSettingsView;
18 class RemoteDevicesView;
19 class ConnChanView;
21 class BluetoothWindow : public BWindow {
22 public:
23 BluetoothWindow(BRect frame);
24 bool QuitRequested();
25 void MessageReceived(BMessage *message);
27 private:
28 RemoteDevicesView* fRemoteDevices;
29 ConnChanView* fConnChan;
30 BButton* fDefaultsButton;
31 BButton* fRevertButton;
32 BMenuBar* fMenubar;
34 BluetoothSettingsView* fSettingsView;
37 #endif