diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_packedFile.h')
-rw-r--r-- | source/blender/blenkernel/BKE_packedFile.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_packedFile.h b/source/blender/blenkernel/BKE_packedFile.h index 9dcbb41c7dc..b19a2092206 100644 --- a/source/blender/blenkernel/BKE_packedFile.h +++ b/source/blender/blenkernel/BKE_packedFile.h @@ -35,6 +35,7 @@ #define RET_OK 0 #define RET_ERROR 1 +struct ID; struct bSound; struct Image; struct Main; @@ -72,5 +73,10 @@ int seekPackedFile(struct PackedFile *pf, int offset, int whence); void rewindPackedFile(struct PackedFile *pf); int readPackedFile(struct PackedFile *pf, void *data, int size); +/* ID should be not NULL, return 1 if there's a packed file */ +int BKE_pack_check(struct ID *id); +/* ID should be not NULL, throws error when ID is Library */ +void BKE_unpack_id(struct Main *bmain, struct ID *id, struct ReportList *reports, int how); + #endif |