~kdub/unity-system-compositor/unblock-silo0

« back to all changes in this revision

Viewing changes to src/screen.h

  • Committer: Andreas Pokorny
  • Date: 2015-07-31 14:11:27 UTC
  • mfrom: (200.4.6 unity-system-compositor)
  • Revision ID: andreas.pokorny@canonical.com-20150731141127-pkvvz9ppwiyrt03c
update to recent unity-system-compositor changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    virtual ~Screen() = default;
34
34
 
35
35
    virtual void enable_inactivity_timers(bool enable) = 0;
36
 
    virtual void toggle_screen_power_mode(PowerStateChangeReason reason) = 0;
37
36
    virtual void keep_display_on_temporarily() = 0;
38
37
 
 
38
    virtual MirPowerMode get_screen_power_mode() = 0;
39
39
    virtual void set_screen_power_mode(MirPowerMode mode, PowerStateChangeReason reason) = 0;
40
40
    virtual void keep_display_on(bool on) = 0;
41
41
    virtual void set_brightness(int brightness) = 0;
43
43
    virtual void set_inactivity_timeouts(int power_off_timeout, int dimmer_timeout) = 0;
44
44
 
45
45
    virtual void set_touch_visualization_enabled(bool enabled) = 0;
46
 
    virtual void override_orientation(unsigned int index, int orientation) = 0;
47
46
    virtual void register_power_state_change_handler(
48
47
            PowerStateChangeHandler const& handler) = 0;
49
48