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_DEVICE_VIEW_H 11 #define _INPUT_DEVICE_VIEW_H 12 13 #include <ListView.h> 14 #include <ListItem.h> 15 #include <Message.h> 16 #include <StringItem.h> 17 #include <ScrollBar.h> 18 #include <String.h> 19 #include <ScrollView.h> 20 #include <View.h> 21 22 #include "InputTouchpadPref.h" 23 #include "MouseSettings.h" 24 25 #define ITEM_SELECTED 'I1s' 26 27 class TouchpadPref; 28 class MouseSettings; 29 30 31 class DeviceListView: public BView { 32 public: 33 DeviceListView(const char *name); 34 virtual ~DeviceListView(); 35 virtual void AttachedToWindow(); 36 BListView* fDeviceList; 37 38 private: 39 BScrollView* fScrollView; 40 }; 41 42 #endif // _INPUT_DEVICE_VIEW_H */ 43