diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-29 11:57:08 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-29 11:57:08 +0100 |
| commit | aebf2cb7812c8f593b85182611b587e6014aefc6 (patch) | |
| tree | c954ebc0cf39263b6c051e159f48e177cafae310 /src/dcp_reader.h | |
| parent | 8b1958988ca234f51ec99385d81b95c1f0f092af (diff) | |
Re-work Subtitle class; remove STL text writer.
Diffstat (limited to 'src/dcp_reader.h')
| -rw-r--r-- | src/dcp_reader.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/dcp_reader.h b/src/dcp_reader.h index 51ada1a..aa8df7f 100644 --- a/src/dcp_reader.h +++ b/src/dcp_reader.h @@ -37,14 +37,10 @@ public: DCPReader (std::istream &); private: - - struct ParseState { - std::list<boost::shared_ptr<DCPFont> > font_nodes; - std::list<boost::shared_ptr<DCPText> > text_nodes; - std::list<boost::shared_ptr<DCPSubtitle> > subtitle_nodes; - }; - void maybe_add_subtitle (std::string text, ParseState const & parse_state); + struct ParseState; + + void maybe_add_subtitle (std::string text, ParseState& parse_state); void examine_font_nodes ( boost::shared_ptr<const cxml::Node> xml, |
