xref: /haiku/src/preferences/input/InputWindow.h (revision adcf5b05a8ca9e17407aa4640675c3873c9f0a6c)
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 		status_t			FindDevice();
57 		void				AddDevice(BInputDevice* device);
58 private:
59 
60 	DeviceListView*			fDeviceListView;
61 	BCardView*				fCardView;
62 	MouseSettings			fSettings;
63 	SettingsView*			fSettingsView;
64 };
65 
66 #endif /* INPUT_WINDOW_H */
67