summaryrefslogtreecommitdiff
path: root/source3/utils/regedit_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/regedit_dialog.h')
-rw-r--r--source3/utils/regedit_dialog.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/source3/utils/regedit_dialog.h b/source3/utils/regedit_dialog.h
index 19a8529e29..132e48b3e5 100644
--- a/source3/utils/regedit_dialog.h
+++ b/source3/utils/regedit_dialog.h
@@ -47,15 +47,19 @@ struct dialog *dialog_choice_center_new(TALLOC_CTX *ctx, const char *title,
const char **choices, int nlines,
int ncols, WINDOW *below);
-struct dialog *dialog_confirm_new(TALLOC_CTX *ctx, const char *title,
- WINDOW *below, const char *msg, ...);
+enum dialog_type {
+ DIA_ALERT,
+ DIA_CONFIRM
+};
enum dialog_selection {
DIALOG_OK = 0,
DIALOG_CANCEL = 1
};
-int dialog_modal_loop(struct dialog *dia);
+int dialog_notice(TALLOC_CTX *ctx, enum dialog_type type,
+ const char *title, WINDOW *below,
+ const char *msg, ...);
struct registry_key;
struct value_item;