Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenlib/BLI_fileops_types.h')
-rw-r--r--source/blender/blenlib/BLI_fileops_types.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_fileops_types.h b/source/blender/blenlib/BLI_fileops_types.h
index 0e6eab687ad..e596fa55877 100644
--- a/source/blender/blenlib/BLI_fileops_types.h
+++ b/source/blender/blenlib/BLI_fileops_types.h
@@ -34,6 +34,7 @@
*/
#include <sys/stat.h>
+#include "BLI_listbase.h"
#if defined(WIN32) && !defined(FREE_WINDOWS)
typedef unsigned int mode_t;
@@ -41,6 +42,19 @@ typedef unsigned int mode_t;
struct ImBuf;
+typedef struct CollapsedEntry {
+ /* list that gets populated during file open */
+ ListBase list;
+ /* sorted array of the files for quick access of frames */
+ struct direntry **darray;
+ off_t totalsize;
+ int minframe;
+ int maxframe;
+ int numdigits;
+ int totfiles;
+ int curfra;
+} CollapsedEntry;
+
struct direntry {
mode_t type;
char *relname;
@@ -69,6 +83,10 @@ struct direntry {
int nr;
struct ImBuf *image;
unsigned int selflag; /* selection flag */
+ off_t realsize; /* real size of file */
+ int frame; /* frame of file in a movie sequence */
+
+ CollapsedEntry collapsed_info;
};
struct dirlink {