~alan-griffiths/mir/fix-1667645

« back to all changes in this revision

Viewing changes to include/platform/mir/input/input_device.h

input platform: forwards MirTouchscreenConfig contents as TouchscreenSettings to input platforms


.

Approved by mir-ci-bot, Brandon Schaefer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
class PointerSettings;
41
41
class TouchpadSettings;
 
42
class TouchscreenSettings;
42
43
 
43
44
/**
44
45
 * Represents an input device.
65
66
 
66
67
    virtual optional_value<TouchpadSettings> get_touchpad_settings() const = 0;
67
68
    virtual void apply_settings(TouchpadSettings const&) = 0;
 
69
 
 
70
    virtual optional_value<TouchscreenSettings> get_touchscreen_settings() const = 0;
 
71
    virtual void apply_settings(TouchscreenSettings const&) = 0;
68
72
protected:
69
73
    InputDevice(InputDevice const&) = delete;
70
74
    InputDevice& operator=(InputDevice const&) = delete;