Index: sources/gui/GuiGlobals.h =================================================================== diff -u -rc3a1e077ddeba65709084f9af5dd756741db8b4f -r666594860f4ea32da9a2bd362d40325b881b11f9 --- sources/gui/GuiGlobals.h (.../GuiGlobals.h) (revision c3a1e077ddeba65709084f9af5dd756741db8b4f) +++ sources/gui/GuiGlobals.h (.../GuiGlobals.h) (revision 666594860f4ea32da9a2bd362d40325b881b11f9) @@ -92,6 +92,9 @@ ID_AlarmUserAckReq = 0x3F00, // 63 ID_AlarmSilenceReq = 0x3200, // 50 + ID_AlertReq = ID_Unknown, + ID_AlertUserReq = ID_Unknown, + ID_TreatmentCreateReq = 0x3500, // 53 ID_TreatmentCreateRsp = 0x3600, // 54 ID_TreatmentStartReq = 0x3800, // 56 @@ -148,6 +151,15 @@ Timeout = 0x01, }; + struct AlertRequest { + QString title; + QString description; + }; + + struct AlertResponse { + bool confirmed = false; + }; + Q_ENUM(GuiActionsType_Enum) Q_ENUM(GuiActionsData_Enum) @@ -188,6 +200,9 @@ typedef GuiActions::UF_States GuiUFStates; typedef GuiActions::Saline_Bolus_States GuiSalineStates; + typedef GuiActions::AlertRequest GuiAlertRequestData; + typedef GuiActions::AlertResponse GuiAlertResponseData; + void registerTypes(); void registerQmlTypes();