summaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-03-14 22:59:54 +0000
committerCarl Hetherington <cth@carlh.net>2019-03-17 00:24:27 +0000
commit7cbd4f09eaeda373662aaddef90d2d070a564b68 (patch)
tree455ba2575f380cd4979dc16672e38a1ca5836825 /src/types.h
parent0db53e30cebc38b2e9e0d8b29aa0c1959d6c165b (diff)
Add Marker enum.
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index 2652524c..a0965e83 100644
--- a/src/types.h
+++ b/src/types.h
@@ -276,6 +276,22 @@ const float ASPECT_ADJUST_EPSILON = 1e-3;
*/
const float ALIGN_EPSILON = 1e-3;
+enum Marker {
+ FFOC, ///< first frame of composition
+ LFOC, ///< last frame of composition
+ FFTC, ///< first frame of title credits
+ LFTC, ///< last frame of title credits
+ FFOI, ///< first frame of intermission
+ LFOI, ///< last frame of intermission
+ FFEC, ///< first frame of end credits
+ LFEC, ///< last frame of end credits
+ FFMC, ///< first frame of moving credits
+ LFMC ///< last frame of moving credits
+};
+
+std::string marker_to_string (Marker);
+Marker marker_from_string (std::string);
+
}
#endif