From 79cddd181d1fefa930cf4427b896af5c36758f46 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 24 Jun 2015 08:48:45 +0100 Subject: Stuff. --- src/subtitle_asset.h | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src/subtitle_asset.h') diff --git a/src/subtitle_asset.h b/src/subtitle_asset.h index 31afecb3..725669f7 100644 --- a/src/subtitle_asset.h +++ b/src/subtitle_asset.h @@ -70,7 +70,6 @@ public: void add (SubtitleString); virtual void add_font (std::string id, boost::filesystem::path file) = 0; - std::map fonts () const; virtual void write (boost::filesystem::path) const = 0; virtual Glib::ustring xml_as_string () const = 0; @@ -85,33 +84,10 @@ protected: void parse_subtitles (boost::shared_ptr xml, std::list > font_nodes); void subtitles_as_xml (xmlpp::Element* root, int time_code_rate, std::string xmlns) const; - void add_font_data (std::string id, boost::filesystem::path file); /** All our subtitles, in no particular order */ std::list _subtitles; - class FileData : public Data { - public: - FileData () {} - - FileData (boost::shared_array data_, boost::uintmax_t size_) - : Data (data_, size_) - {} - - FileData (boost::filesystem::path file_) - : Data (file_) - {} - - /** .ttf file that this data was last written to */ - mutable boost::optional file; - }; - - /** Font data, keyed by a subclass-dependent identifier. - * For Interop, the string is the font ID from the subtitle file. - * For SMPTE, the string is the font's URN from the subtitle file. - */ - std::map _fonts; - private: /** @struct ParseState * @brief A struct to hold state when parsing a subtitle XML file. -- cgit v1.2.3