vfs: check userland buffers before reading them.
[haiku.git] / src / preferences / keyboard / KeyboardWindow.h
blobf56545e3abd721ba2cbd1004200973049b7b2abe
1 /*
2 * Copyright 2004-2006, the Haiku project. All rights reserved.
3 * Distributed under the terms of the Haiku License.
5 * Authors in chronological order:
6 * mccall@digitalparadise.co.uk
7 * Jérôme Duval
8 * Marcus Overhagen
9 */
10 #ifndef KEYBOARD_WINDOW_H
11 #define KEYBOARD_WINDOW_H
13 #include <Button.h>
14 #include <Window.h>
16 #include "KeyboardSettings.h"
17 #include "KeyboardView.h"
19 class KeyboardWindow : public BWindow
21 public:
22 KeyboardWindow();
24 bool QuitRequested();
25 void MessageReceived(BMessage* message);
27 private:
28 KeyboardView *fSettingsView;
29 KeyboardSettings fSettings;
30 BButton *fDefaultsButton;
31 BButton *fRevertButton;
34 #endif