xref: /haiku/src/preferences/input/InputWindow.h (revision 5889cb5e7e8e7bfea6072ddfe881f55d364a0cf0)
1 /*
2  * Copyright 2019, Haiku, Inc.
3  * Distributed under the terms of the MIT License.
4  *
5  * Author:
6  *		Preetpal Kaur <preetpalok123@gmail.com>
7  */
8 
9 
10 #ifndef INPUT_WINDOW_H
11 #define INPUT_WINDOW_H
12 
13 
14 #include <Box.h>
15 #include <CardView.h>
16 #include <Input.h>
17 #include <ListItem.h>
18 #include <ListView.h>
19 #include <Message.h>
20 #include <ScrollBar.h>
21 #include <ScrollView.h>
22 #include <SeparatorView.h>
23 #include <View.h>
24 #include <Window.h>
25 
26 #include "InputDeviceView.h"
27 #include "InputKeyboard.h"
28 #include "InputMouse.h"
29 #include "InputTouchpadPrefView.h"
30 #include "MouseSettings.h"
31 #include "touchpad_settings.h"
32 
33 
34 class BSplitView;
35 class BCardView;
36 class BCardLayout;
37 
38 class SettingsView;
39 class DeviceName;
40 class InputDevices;
41 class InputKeyboard;
42 class InputMouse;
43 class TouchpadPrefView;
44 class TouchpadPref;
45 class TouchpadView;
46 
47 
48 class InputWindow : public BWindow
49 {
50 public:
51 							InputWindow(BRect rect);
52 		void				MessageReceived(BMessage* message);
53 		void				Show();
54 		void				Hide();
55 
56 private:
57 		status_t			FindDevice();
58 		void				AddDevice(BInputDevice* device);
59 private:
60 
61 		BListView*			fDeviceListView;
62 		BCardView*			fCardView;
63 };
64 
65 #endif /* INPUT_WINDOW_H */
66