Index: firmware/App/Monitors/Buttons.h =================================================================== diff -u -r395522dffef1348e176564925656012f529c1910 -r9fcd1ad071bcce7a592833367c103e235e49654f --- firmware/App/Monitors/Buttons.h (.../Buttons.h) (revision 395522dffef1348e176564925656012f529c1910) +++ firmware/App/Monitors/Buttons.h (.../Buttons.h) (revision 9fcd1ad071bcce7a592833367c103e235e49654f) @@ -37,6 +37,15 @@ BUTTON_STATE_PRESSED, ///< Button is in the pressed state NUM_OF_BUTTON_STATES ///< Number of button states } BUTTON_STATE_T; + +/// Enumeration of off button responses from UI. +typedef enum OffButtonRspsFromUI +{ + OFF_BUTTON_RSP_USER_REQUESTS_POWER_OFF = 0, ///< User requests power off response + OFF_BUTTON_RSP_USER_CONFIRMS_POWER_OFF, ///< User confirms power off response + OFF_BUTTON_RSP_USER_REJECTS_POWER_OFF, ///< User rejects power off response + NUM_OF_OFF_BUTTON_RSPS ///< Number of off button responses from UI +} OFF_BUTTON_RSP_T; #pragma pack(push,1) /// Payload record structure for an off button confirmation message from the UI.