Merge CV, ver=5.1; ops/methods from HV, and interface from CV where possible
[goodguy/history.git] / cinelerra-5.1 / cinelerra / recordthread.h
diff --git a/cinelerra-5.1/cinelerra/recordthread.h b/cinelerra-5.1/cinelerra/recordthread.h
new file mode 100644 (file)
index 0000000..5a7b9c9
--- /dev/null
@@ -0,0 +1,25 @@
+#ifndef __RECORDTHREAD_H__
+#define __RECORDTHREAD_H__
+
+#include "batch.inc"
+#include "condition.inc"
+#include "mwindow.inc"
+#include "record.inc"
+
+class RecordThread : public Thread
+{
+public:
+       RecordThread(MWindow *mwindow, Record *record);
+       ~RecordThread();
+       int cron(Batch *batch);
+       void run();
+
+       MWindow *mwindow;
+       Record *record;
+       Condition *batch_timed_lock;
+
+       int done;
+       int cron_active;
+};
+
+#endif