r1006: configure: Use libx264_pic instead of libx264 if available.
[cinelerra_cv/mob.git] / cinelerra / threadindexer.h
blob04b3884830ab1f729225ecfe64fe49a2b78c4764
1 #ifndef THREADINDEXER_H
2 #define THREADINDEXER_H
5 #include "asset.inc"
6 #include "condition.inc"
7 #include "mwindow.inc"
8 #include "thread.h"
10 // ================================= builds the indexes as a thread
11 // Runs through all the assets and starts an index file building for each asset.
13 class ThreadIndexer : public Thread
15 public:
16 ThreadIndexer(MWindow *mwindow, Assets *assets);
17 ~ThreadIndexer();
19 int start_build();
20 void run();
21 int interrupt_build();
23 int interrupt_flag;
24 MWindow *mwindow;
25 Assets *assets;
26 Condition *interrupt_lock; // Force blocking until thread is finished
27 IndexFile *indexfile;
30 #endif