Index: uspace/lib/ui/include/types/ui/msgdialog.h
===================================================================
--- uspace/lib/ui/include/types/ui/msgdialog.h	(revision 0d00e53ee0e707747c5d846467b5eddfa7a0e101)
+++ uspace/lib/ui/include/types/ui/msgdialog.h	(revision 41dcabcdd3a7892618b028c8b2f82d2768500453)
@@ -1,4 +1,4 @@
 /*
- * Copyright (c) 2021 Jiri Svoboda
+ * Copyright (c) 2024 Jiri Svoboda
  * All rights reserved.
  *
@@ -45,4 +45,17 @@
 typedef struct ui_msg_dialog ui_msg_dialog_t;
 
+enum {
+	/** Maximum number of buttons in message dialog. */
+	ui_msg_dialog_maxbtn = 2
+};
+
+/** Which choices the user can select from. */
+typedef enum {
+	/** OK (the default) */
+	umdc_ok,
+	/** OK, Cancel */
+	umdc_ok_cancel
+} ui_msg_dialog_choice_t;
+
 /** Message dialog parameters */
 typedef struct {
@@ -51,4 +64,6 @@
 	/** Message text */
 	const char *text;
+	/** The choice that the user is given */
+	ui_msg_dialog_choice_t choice;
 } ui_msg_dialog_params_t;
 
