(FileProgressStatus): change values to avoid overlapping with B_* values.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2014-06-27 12:45:33 +04:00
parent 478e58dfa2
commit f72cf464c9
2 changed files with 8 additions and 6 deletions

View File

@ -21,6 +21,7 @@
#define DIALOG(x) ((WDialog *)(x)) #define DIALOG(x) ((WDialog *)(x))
/* Common return values */ /* Common return values */
/* ATTENTION: avoid overlapping with FileProgressStatus values */
#define B_EXIT 0 #define B_EXIT 0
#define B_CANCEL 1 #define B_CANCEL 1
#define B_ENTER 2 #define B_ENTER 2

View File

@ -46,14 +46,15 @@ typedef enum
RECURSIVE_ABORT = 4 RECURSIVE_ABORT = 4
} FileCopyMode; } FileCopyMode;
/* ATTENTION: avoid overlapping with B_* values (lib/widget/dialog.h) */
typedef enum typedef enum
{ {
FILE_CONT = 0, FILE_CONT = 10,
FILE_RETRY = 1, FILE_RETRY,
FILE_SKIP = 2, FILE_SKIP,
FILE_ABORT = 3, FILE_ABORT,
FILE_SKIPALL = 4, FILE_SKIPALL,
FILE_SUSPEND = 5 FILE_SUSPEND
} FileProgressStatus; } FileProgressStatus;
/* First argument passed to real functions */ /* First argument passed to real functions */