Code review comment for lp:~ricmm/qtpowerd/names-and-display

Revision history for this message
Loïc Minier (lool) wrote :

Rather than:
+ POWERD_DISPLAY_STATE_ON = POWERD_SYS_STATE_ACTIVE,
maybe you should copy-paste the whole powerd.h enum:
enum powerd_display_state {
    POWERD_DISPLAY_STATE_DONT_CARE = 0,
    POWERD_DISPLAY_STATE_ON,

    /* Keep last */
    POWERD_NUM_DISPLAY_STATES
};

« Back to merge proposal