summaryrefslogtreecommitdiff
path: root/src/lib/types.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-12-13 11:18:31 +0100
committerCarl Hetherington <cth@carlh.net>2022-12-13 11:18:31 +0100
commit0185ba27b0e9c52a173147c1380ec5f345109afc (patch)
tree857df3c7f920312cccfa6a69cae7c709658a11c7 /src/lib/types.h
parent94d5ba335224db075a95a76654f732ef54a4eabd (diff)
More header trimming.
Diffstat (limited to 'src/lib/types.h')
-rw-r--r--src/lib/types.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/lib/types.h b/src/lib/types.h
index 9801ef557..36059401e 100644
--- a/src/lib/types.h
+++ b/src/lib/types.h
@@ -111,32 +111,6 @@ enum class ReelType
};
-/** Type of captions.
- *
- * The generally accepted definitions seem to be:
- * - subtitles: text for an audience who doesn't speak the film's language
- * - captions: text for a hearing-impaired audience
- * - open: on-screen
- * - closed: only visible by some audience members
- *
- * At the moment DoM supports open subtitles and closed captions.
- *
- * There is some use of the word `subtitle' in the code which may mean
- * caption in some contexts.
- */
-enum class TextType
-{
- UNKNOWN,
- OPEN_SUBTITLE,
- CLOSED_CAPTION,
- COUNT
-};
-
-extern std::string text_type_to_string (TextType t);
-extern std::string text_type_to_name (TextType t);
-extern TextType string_to_text_type (std::string s);
-
-
struct CPLSummary
{
CPLSummary (boost::filesystem::path p);