diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-04 12:25:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-05 15:53:48 +0100 |
| commit | 42a65cba0d8da23c12af52015e66cd9dc0b5a5fa (patch) | |
| tree | ff0a017c49d0975f21a5314d2f77be20f68bd379 /src/interop_subtitle_asset.h | |
| parent | 943e75e0ac5730714f3823771f127fe78e4cf82b (diff) | |
Initial work on SMPTE subtitles.
Diffstat (limited to 'src/interop_subtitle_asset.h')
| -rw-r--r-- | src/interop_subtitle_asset.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/interop_subtitle_asset.h b/src/interop_subtitle_asset.h index 586bb67c..2a1fae7f 100644 --- a/src/interop_subtitle_asset.h +++ b/src/interop_subtitle_asset.h @@ -41,8 +41,41 @@ public: void add_font (std::string id, std::string uri); Glib::ustring xml_as_string () const; + void write (boost::filesystem::path path) const; + + void set_reel_number (std::string n) { + _reel_number = n; + } + + void set_language (std::string l) { + _language = l; + } + + void set_movie_title (std::string m) { + _movie_title = m; + } + + std::string reel_number () const { + return _reel_number; + } + + std::string language () const { + return _language; + } + + std::string movie_title () const { + return _movie_title; + } + +protected: + + std::string pkl_type (Standard) const { + return "text/xml"; + } private: + std::string _reel_number; + std::string _language; std::string _movie_title; std::list<boost::shared_ptr<InteropLoadFontNode> > _load_font_nodes; }; |
