Index: HDDefs.h =================================================================== diff -u -re5949d8218a7aa83bfba1a9ddc4458f1e34ba78d -r79282b9e48ca094e682e4185569ecc075dcd3f40 --- HDDefs.h (.../HDDefs.h) (revision e5949d8218a7aa83bfba1a9ddc4458f1e34ba78d) +++ HDDefs.h (.../HDDefs.h) (revision 79282b9e48ca094e682e4185569ecc075dcd3f40) @@ -744,21 +744,14 @@ }; typedef enum HD_Event_List HD_EVENT_ID_T; ///< Type for HD event list enumeration -/**@}*/ - -/** - * @addtogroup UIUserConfirm - * @{ - */ - -/// Enumeration of generic confirmation. +/// Enumeration of generic confirmation request type from HD to UI. enum Generic_Confirm_Command { GENERIC_CONFIRM_CMD_REQUEST_OPEN = 0, ///< Generic Confirm command to display the confirmation GENERIC_CONFIRM_CMD_TIMEOUT_CLOSE = 1, ///< Generic Confirm command to hide the confirmation, due to timeout user confirmation GENERIC_CONFIRM_CMD_REJECT = 2, ///< Generic Confirm command to display the confirmation rejection in case the request in not valid/accepted anymore. GENERIC_CONFIRM_CMD_ACCEPT_CLOSE = 3, ///< Generic Confirm command to hide the confirmation, due to accept user confirmation. - NUM_OF_GENERIC_CONFIRM_COMMAND , ///< Total number of generic confirm commands + NUM_OF_GENERIC_CONFIRM_COMMAND ///< Total number of generic confirm commands }; typedef enum Generic_Confirm_Command GENERIC_CONFIRM_COMMAND_T; ///< Type for generic confirm enumeration @@ -769,7 +762,7 @@ * @{ */ -/// Enumeration of generic confirmation. +/// Enumeration of generic confirmation id between HD and UI. enum Generic_Confirm_Id { GENERIC_CONFIRM_ID_NONE = 0, ///< Generic Confirm None @@ -782,4 +775,15 @@ /**@}*/ +/// List of confirmation request status +typedef enum Confirmation_Status +{ + CONFIRMATION_REQUEST_STATUS_REJECTED = 0, ///< Confirmation status rejected + CONFIRMATION_REQUEST_STATUS_ACCEPTED, ///< Confirmation status accepted + CONFIRMATION_REQUEST_STATUS_TIMEOUT, ///< Confirmation status timeout + CONFIRMATION_REQUEST_STATUS_PENDING, ///< Confirmation status pending response + CONFIRMATION_REQUEST_STATUS_UNUSED, ///< Confirmation status Unused + NUM_OF_CONFIRMATION_REQUEST_STATUS ///< Number of confirmation status +} CONFIRMATION_REQUEST_STATUS_T; + #endif