Merge CV, ver=5.1; ops/methods from HV, and interface from CV where possible
[goodguy/history.git] / cinelerra-5.1 / cinelerra / transportque.inc
diff --git a/cinelerra-5.1/cinelerra/transportque.inc b/cinelerra-5.1/cinelerra/transportque.inc
new file mode 100644 (file)
index 0000000..b83437a
--- /dev/null
@@ -0,0 +1,60 @@
+
+/*
+ * CINELERRA
+ * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ * 
+ */
+
+#ifndef TRANSPORTQUE_INC
+#define TRANSPORTQUE_INC
+
+// Directions
+#define PLAY_FORWARD 0
+#define PLAY_REVERSE 1
+
+// Commands
+// Perform change but don't render anything
+#define COMMAND_NONE              0
+// Stop playback but keep existing change_type flag
+#define STOP                             7
+
+#define SINGLE_FRAME_FWD         1
+#define NORMAL_FWD               2
+#define FAST_FWD                 3
+#define SINGLE_FRAME_REWIND      4
+#define NORMAL_REWIND                    5
+#define FAST_REWIND                      6
+#define PAUSE                            8
+#define SLOW_FWD                 9
+#define SLOW_REWIND              10
+#define REWIND                   11
+#define GOTO_END                 12
+#define CURRENT_FRAME             13
+
+// Level of change.  Changes have to be inclusive of all the lesser changes.
+// Delete cache
+#define CHANGE_ALL            0xffffffff
+// Delete render engines
+#define CHANGE_EDL                  0x11
+// Search EDL and synchronize parameters.
+#define CHANGE_PARAMS                0x1
+#define CHANGE_NONE                  0x0
+
+class TransportCommand;
+class TransportQue;
+
+#endif