diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-10 11:27:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-10 11:27:26 +0100 |
| commit | bde76c3341775bd02da59932d285e14eade64ae0 (patch) | |
| tree | 7f0922faf1e64e74c029037afe8857c63f25e51a /src/lib/dcp_subtitle_content.h | |
| parent | c7b68d663ac3db10dcf2bfcc11009dce46f820dc (diff) | |
Basics of DCP subtitle import.
Diffstat (limited to 'src/lib/dcp_subtitle_content.h')
| -rw-r--r-- | src/lib/dcp_subtitle_content.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/lib/dcp_subtitle_content.h b/src/lib/dcp_subtitle_content.h new file mode 100644 index 000000000..79338c1af --- /dev/null +++ b/src/lib/dcp_subtitle_content.h @@ -0,0 +1,37 @@ +/* + Copyright (C) 2014 Carl Hetherington <cth@carlh.net> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#include "subtitle_content.h" + +class DCPSubtitleContent : public SubtitleContent +{ +public: + DCPSubtitleContent (boost::shared_ptr<const Film>, boost::filesystem::path); + DCPSubtitleContent (boost::shared_ptr<const Film>, cxml::ConstNodePtr, int); + + void examine (boost::shared_ptr<Job>); + std::string summary () const; + std::string technical_summary () const; + std::string information () const; + void as_xml (xmlpp::Node *) const; + DCPTime full_length () const; + +private: + DCPTime _length; +}; |
