diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-06-28 23:12:42 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-08-17 12:57:31 +0200 |
| commit | 8e43142645252daeeaccbad7b9f3ed746c4b2382 (patch) | |
| tree | 6c029caa9f0c961087ec6145da0bbbb8abf17146 /src/reel_text_asset.h | |
| parent | 06c28c700f0a398a3289c4adfa83ceb2d0fc999d (diff) | |
{,Interop,SMPTE}SubtitleAsset -> {,Interop,SMPTE}TextAsset.
Diffstat (limited to 'src/reel_text_asset.h')
| -rw-r--r-- | src/reel_text_asset.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/reel_text_asset.h b/src/reel_text_asset.h index cf904921..35efe941 100644 --- a/src/reel_text_asset.h +++ b/src/reel_text_asset.h @@ -44,7 +44,7 @@ #include "language_tag.h" #include "reel_asset.h" #include "reel_file_asset.h" -#include "subtitle_asset.h" +#include "text_asset.h" #include "text_type.h" @@ -55,7 +55,7 @@ struct verify_invalid_language2; namespace dcp { -class SubtitleAsset; +class TextAsset; /** @class ReelTextAsset @@ -64,15 +64,15 @@ class SubtitleAsset; class ReelTextAsset : public ReelFileAsset { public: - ReelTextAsset(TextType type, std::shared_ptr<SubtitleAsset> asset, Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point); + ReelTextAsset(TextType type, std::shared_ptr<TextAsset> asset, Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point); explicit ReelTextAsset(std::shared_ptr<const cxml::Node>); - std::shared_ptr<const SubtitleAsset> asset () const { - return asset_of_type<const SubtitleAsset>(); + std::shared_ptr<const TextAsset> asset() const { + return asset_of_type<const TextAsset>(); } - std::shared_ptr<SubtitleAsset> asset () { - return asset_of_type<SubtitleAsset>(); + std::shared_ptr<TextAsset> asset() { + return asset_of_type<TextAsset>(); } bool equals(std::shared_ptr<const ReelTextAsset>, EqualityOptions const&, NoteHandler) const; |
