diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-24 04:15:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-24 04:15:26 +0100 |
| commit | ceaf7bc52712cb60708ed5eb5c62c5e463dd8e89 (patch) | |
| tree | c55e4b85ee30138ce83263045d77d01631378b2e /src/subtitle_asset_internal.h | |
| parent | 6c37cc1979b2a01205a888c4c98f3334685ee8dd (diff) | |
Tidying.
Diffstat (limited to 'src/subtitle_asset_internal.h')
| -rw-r--r-- | src/subtitle_asset_internal.h | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/src/subtitle_asset_internal.h b/src/subtitle_asset_internal.h index 0af16238..c7037dcf 100644 --- a/src/subtitle_asset_internal.h +++ b/src/subtitle_asset_internal.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net> + Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net> This file is part of libdcp. @@ -31,6 +31,12 @@ files in the program, then also delete it here. */ + +/** @file src/subtitle_asset_internal.h + * @brief Internal SubtitleAsset helpers + */ + + #ifndef LIBDCP_SUBTITLE_ASSET_INTERNAL_H #define LIBDCP_SUBTITLE_ASSET_INTERNAL_H @@ -41,18 +47,23 @@ #include "dcp_time.h" #include <libxml++/libxml++.h> + struct take_intersection_test; struct take_difference_test; struct pull_fonts_test1; struct pull_fonts_test2; struct pull_fonts_test3; + namespace dcp { + class SubtitleString; + namespace order { + struct Context { std::string xmlns () const; @@ -62,6 +73,7 @@ struct Context int spot_number; }; + class Font { public: @@ -87,6 +99,7 @@ private: std::map<std::string, std::string> _values; }; + class Part { public: @@ -109,6 +122,7 @@ public: std::vector<std::shared_ptr<Part>> children; }; + class String : public Part { public: @@ -122,6 +136,7 @@ public: std::string text; }; + class Text : public Part { public: @@ -144,6 +159,7 @@ private: Direction _direction; }; + class Subtitle : public Part { public: @@ -164,6 +180,7 @@ private: Time _fade_down; }; + class Image : public Part { public: @@ -188,8 +205,9 @@ private: float _v_position; }; -} } +} + #endif |
