2 * \brief Header: file management GUI for the text mode edition
8 #include "lib/global.h"
11 /*** typedefs(not structures) and defined constants **********************************************/
13 /*** enums ***************************************************************************************/
15 /*** structures declarations (and typedefs of structures)*****************************************/
17 /*** global variables defined in .c file *********************************************************/
19 /*** declarations of public functions ************************************************************/
21 void file_progress_ui_create (file_op_context_t
* ctx
, gboolean with_eta
,
22 filegui_dialog_type_t dialog_type
);
23 void file_progress_ui_destroy (file_op_context_t
* ctx
);
25 char *file_mask_dialog (file_op_context_t
* ctx
, gboolean only_one
, const char *format
,
26 const void *text
, const char *def_text
, gboolean
* do_bg
);
28 FileProgressStatus
file_progress_check_buttons (file_op_context_t
* ctx
);
30 void file_progress_show (file_op_context_t
* ctx
, off_t done
, off_t total
,
31 const char *stalled_msg
, gboolean force_update
);
32 void file_progress_show_count (file_op_context_t
* ctx
, size_t done
, size_t total
);
33 void file_progress_show_total (file_op_total_context_t
* tctx
, file_op_context_t
* ctx
,
34 uintmax_t copied_bytes
, gboolean show_summary
);
35 void file_progress_show_source (file_op_context_t
* ctx
, const vfs_path_t
* vpath
);
36 void file_progress_show_target (file_op_context_t
* ctx
, const vfs_path_t
* vpath
);
37 gboolean
file_progress_show_deleting (file_op_context_t
* ctx
, const vfs_path_t
* vpath
,
40 /*** inline functions ****************************************************************************/
41 #endif /* MC__FILEGUI_H */