mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
(FileProgressStatus): change values to avoid overlapping with B_* values.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
478e58dfa2
commit
f72cf464c9
@ -21,6 +21,7 @@
|
||||
#define DIALOG(x) ((WDialog *)(x))
|
||||
|
||||
/* Common return values */
|
||||
/* ATTENTION: avoid overlapping with FileProgressStatus values */
|
||||
#define B_EXIT 0
|
||||
#define B_CANCEL 1
|
||||
#define B_ENTER 2
|
||||
|
@ -46,14 +46,15 @@ typedef enum
|
||||
RECURSIVE_ABORT = 4
|
||||
} FileCopyMode;
|
||||
|
||||
/* ATTENTION: avoid overlapping with B_* values (lib/widget/dialog.h) */
|
||||
typedef enum
|
||||
{
|
||||
FILE_CONT = 0,
|
||||
FILE_RETRY = 1,
|
||||
FILE_SKIP = 2,
|
||||
FILE_ABORT = 3,
|
||||
FILE_SKIPALL = 4,
|
||||
FILE_SUSPEND = 5
|
||||
FILE_CONT = 10,
|
||||
FILE_RETRY,
|
||||
FILE_SKIP,
|
||||
FILE_ABORT,
|
||||
FILE_SKIPALL,
|
||||
FILE_SUSPEND
|
||||
} FileProgressStatus;
|
||||
|
||||
/* First argument passed to real functions */
|
||||
|
Loading…
Reference in New Issue
Block a user