1
2
3
4
5 #ifndef MC__FILEGUI_H
6 #define MC__FILEGUI_H
7
8 #include "lib/global.h"
9 #include "fileopctx.h"
10
11
12
13
14
15
16
17
18
19
20
21 void file_op_context_create_ui (file_op_context_t * ctx, gboolean with_eta,
22 filegui_dialog_type_t dialog_type);
23 void file_op_context_destroy_ui (file_op_context_t * ctx);
24
25 char *file_mask_dialog (file_op_context_t * ctx, FileOperation operation,
26 gboolean only_one,
27 const char *format, const void *text,
28 const char *def_text, gboolean * do_bg);
29
30 FileProgressStatus check_progress_buttons (file_op_context_t * ctx);
31
32 void file_progress_show (file_op_context_t * ctx, off_t done, off_t total,
33 const char *stalled_msg, gboolean force_update);
34 void file_progress_show_count (file_op_context_t * ctx, size_t done, size_t total);
35 void file_progress_show_total (file_op_total_context_t * tctx, file_op_context_t * ctx,
36 uintmax_t copied_bytes, gboolean show_summary);
37 void file_progress_show_source (file_op_context_t * ctx, const vfs_path_t * vpath);
38 void file_progress_show_target (file_op_context_t * ctx, const vfs_path_t * vpath);
39 gboolean file_progress_show_deleting (file_op_context_t * ctx, const char *path, size_t * count);
40
41
42 #endif