From 7cbd4f09eaeda373662aaddef90d2d070a564b68 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 14 Mar 2019 22:59:54 +0000 Subject: Add Marker enum. --- src/types.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/types.h') 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 -- cgit v1.2.3