diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-07-07 17:40:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-07-07 17:43:44 +0300 |
commit | ad16af7a7e350a2164204b8af50ff00836d65386 (patch) | |
tree | 2f9ba8450281e2c853d4f2718e5e9c1b1e9ce6ca /source/blender/blenkernel/BKE_packedFile.h | |
parent | 1357dd7d3cf2d0cb5c574fa518136a4654869493 (diff) |
Cleanup: split enum types, use PF_CMP prefix
Diffstat (limited to 'source/blender/blenkernel/BKE_packedFile.h')
-rw-r--r-- | source/blender/blenkernel/BKE_packedFile.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/source/blender/blenkernel/BKE_packedFile.h b/source/blender/blenkernel/BKE_packedFile.h index 00a241c259a..ab8d07d18e0 100644 --- a/source/blender/blenkernel/BKE_packedFile.h +++ b/source/blender/blenkernel/BKE_packedFile.h @@ -33,11 +33,13 @@ struct ReportList; struct VFont; struct bSound; -enum ePF_FileStatus { - PF_EQUAL = 0, - PF_DIFFERS = 1, - PF_NOFILE = 2, +enum ePF_FileCompare { + PF_CMP_EQUAL = 0, + PF_CMP_DIFFERS = 1, + PF_CMP_NOFILE = 2, +}; +enum ePF_FileStatus { PF_WRITE_ORIGINAL = 3, PF_WRITE_LOCAL = 4, PF_USE_LOCAL = 5, @@ -94,9 +96,9 @@ void BKE_packedfile_free(struct PackedFile *pf); /* info */ int BKE_packedfile_count_all(struct Main *bmain); -int BKE_packedfile_compare_to_file(const char *ref_file_name, - const char *filename, - struct PackedFile *pf); +enum ePF_FileCompare BKE_packedfile_compare_to_file(const char *ref_file_name, + const char *filename, + struct PackedFile *pf); /* read */ int BKE_packedfile_seek(struct PackedFile *pf, int offset, int whence); |