1 | /* newt-specific.h |
---|
2 | * $Id: newt-specific.h 128 2005-11-19 01:27:41Z bcornec $ |
---|
3 | */ |
---|
4 | |
---|
5 | |
---|
6 | #ifndef H_NEWT |
---|
7 | #include <newt.h> |
---|
8 | #endif |
---|
9 | |
---|
10 | bool ask_me_yes_or_no(char *prompt); |
---|
11 | bool ask_me_OK_or_cancel(char *prompt); |
---|
12 | void close_evalcall_form(void); |
---|
13 | void close_progress_form(); |
---|
14 | void fatal_error(char *error_string); |
---|
15 | void finish(int signal); |
---|
16 | void mvaddstr_and_log_it(int y, int x, char *output); |
---|
17 | void log_file_end_to_screen(char *filename, char *grep_for_me); |
---|
18 | void log_to_screen(const char *fmt, ...); |
---|
19 | void open_evalcall_form(char *title); |
---|
20 | void open_progress_form(char *title, char *b1, char *b2, char *b3, |
---|
21 | long max_val); |
---|
22 | void popup_and_OK(char *prompt); |
---|
23 | bool popup_and_get_string(char *title, char *b, char *output, int maxsize); |
---|
24 | bool popup_with_buttons(char *p, char *button1, char *button2); |
---|
25 | void refresh_log_screen(); |
---|
26 | void setup_newt_stuff(); |
---|
27 | void update_evalcall_form_ratio(int num, int denom); |
---|
28 | void update_evalcall_form(int curr); |
---|
29 | void update_progress_form(char *blurb3); |
---|
30 | void update_progress_form_full(char *blurb1, char *blurb2, char *blurb3); |
---|
31 | |
---|
32 | |
---|
33 | |
---|
34 | |
---|
35 | |
---|
36 | |
---|
37 | t_bkptype which_backup_media_type(bool); |
---|
38 | int which_compression_level(); |
---|
39 | |
---|
40 | |
---|
41 | void popup_changelist_from_file(char *source_file); |
---|