Rename everything.
[libdcp.git] / src / reel_subtitle_asset.h
index 8b694fd675494ecac9bc9b419faeaedcd4e71d90..7bc38a0ff43554adfd9188949293d8fb41dc7112 100644 (file)
@@ -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"
 
 
 struct verify_invalid_language1;
@@ -53,7 +53,7 @@ struct verify_invalid_language1;
 namespace dcp {
 
 
-class SubtitleAsset;
+class TextAsset;
 
 
 /** @class ReelSubtitleAsset
@@ -62,15 +62,15 @@ class SubtitleAsset;
 class ReelSubtitleAsset : public ReelFileAsset
 {
 public:
-       ReelSubtitleAsset (std::shared_ptr<SubtitleAsset> asset, Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point);
+       ReelSubtitleAsset(std::shared_ptr<TextAsset> asset, Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point);
        explicit ReelSubtitleAsset (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>();
        }
 
        xmlpp::Node* write_to_cpl (xmlpp::Node* node, Standard standard) const override;