8 #include "indexthread.inc"
9 #include "mainprogress.inc"
10 #include "mwindow.inc"
11 #include "preferences.inc"
12 #include "resourcepixmap.inc"
13 #include "bctimer.inc"
19 IndexFile(MWindow
*mwindow
);
20 IndexFile(MWindow
*mwindow
, Asset_GC asset
);
23 int open_index(Asset_GC asset
);
24 int open_index(MWindow
*mwindow
, Asset_GC asset
);
25 int create_index(Asset_GC asset
, MainProgressBar
*progress
);
26 int create_index(MWindow
*mwindow
, Asset_GC asset
, MainProgressBar
*progress
);
27 int interrupt_index();
28 static void delete_index(Preferences
*preferences
, Asset_GC asset
);
29 static int get_index_filename(char *source_filename
,
30 char *index_directory
,
32 char *input_filename
);
33 void update_edl_asset();
34 int redraw_edits(int force
);
35 int draw_index(ResourcePixmap
*pixmap
, Edit
*edit
, int x
, int w
);
38 int read_info(Asset_GC test_asset
= Asset_GC());
42 char index_filename
[BCTEXTLEN
], source_filename
[BCTEXTLEN
];
47 void update_mainasset();
50 int open_source(File
*source
);
51 int64_t get_required_scale(File
*source
);
53 int64_t file_length
; // Length of index file in bytes
54 int interrupt_flag
; // Flag set when index building is interrupted
61 // c-file-style: "linux"