diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-11-29 21:16:13 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-11-29 21:16:13 +0400 |
commit | 0d24c6f0d034d277feeff2650a8165294a259691 (patch) | |
tree | 074f5b620ec61caeacc20863ba354debbb7ab1c4 /source/blender/blenloader/intern/readfile.h | |
parent | cedc90b6077a01a60f589f09a5c82f4b7a359a4b (diff) |
Move 2.6x versioning code to own file
Summary:
Makes readfile.c more clear and easier to navigate in.
We would need to do such a move when we'll do 2.70 bump
anyway. So better be prepared.
In fact, as soon 2.70 bumo is done i would think we'd
better create versioning_270 file and do version code
there. Otherwise readfile.c will grow up dramatically
again.
Reviewers: brecht, campbellbarton
Reviewed By: brecht
Differential Revision: http://developer.blender.org/D60
Diffstat (limited to 'source/blender/blenloader/intern/readfile.h')
-rw-r--r-- | source/blender/blenloader/intern/readfile.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.h b/source/blender/blenloader/intern/readfile.h index 6d5fc056d89..fe22499d16f 100644 --- a/source/blender/blenloader/intern/readfile.h +++ b/source/blender/blenloader/intern/readfile.h @@ -34,6 +34,7 @@ #define __READFILE_H__ #include "zlib.h" +#include "DNA_windowmanager_types.h" /* for ReportType */ struct OldNewMap; struct MemFile; @@ -43,6 +44,7 @@ struct Object; struct PartEff; struct View3D; struct bNodeTree; +struct Key; typedef struct FileData { // linked list of BHeadN's @@ -145,6 +147,8 @@ char *bhead_id_name(FileData *fd, BHead *bhead); /* do versions stuff */ +void blo_reportf_wrap(struct ReportList *reports, ReportType type, const char *format, ...) ATTR_PRINTF_FORMAT(3, 4); + void blo_do_versions_oldnewmap_insert(struct OldNewMap *onm, void *oldaddr, void *newaddr, int nr); void *blo_do_versions_newlibadr(struct FileData *fd, void *lib, void *adr); void *blo_do_versions_newlibadr_us(struct FileData *fd, void *lib, void *adr); @@ -152,9 +156,11 @@ void *blo_do_versions_newlibadr_us(struct FileData *fd, void *lib, void *adr); struct PartEff *blo_do_version_give_parteff_245(struct Object *ob); void blo_do_version_old_trackto_to_constraints(struct Object *ob); void blo_do_versions_view3d_split_250(struct View3D *v3d, struct ListBase *regions); +void blo_do_versions_key_uidgen(struct Key *key); void blo_do_versions_pre250(struct FileData *fd, struct Library *lib, struct Main *main); void blo_do_versions_250(struct FileData *fd, struct Library *lib, struct Main *main); +void blo_do_versions_260(struct FileData *fd, struct Library *lib, struct Main *main); #endif |