diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-15 11:07:04 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-15 11:07:04 +0000 |
| commit | a890bedf688f0066d70dd5e9b07cbd86736cc0b1 (patch) | |
| tree | 683fdd79cfd5e218df23a46fa990b1965f6e5b59 /src/lib/subrip_content.h | |
| parent | f9608c5299d0a58bc01b33e521d89a80be26ed23 (diff) | |
More testing / SubRip parse fixes.
Diffstat (limited to 'src/lib/subrip_content.h')
| -rw-r--r-- | src/lib/subrip_content.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/subrip_content.h b/src/lib/subrip_content.h index 741e1a4c3..30a824eec 100644 --- a/src/lib/subrip_content.h +++ b/src/lib/subrip_content.h @@ -25,6 +25,10 @@ public: SubRipContent (boost::shared_ptr<const Film>, boost::filesystem::path); SubRipContent (boost::shared_ptr<const Film>, boost::shared_ptr<const cxml::Node>, int); + boost::shared_ptr<SubRipContent> shared_from_this () { + return boost::dynamic_pointer_cast<SubRipContent> (Content::shared_from_this ()); + } + void examine (boost::shared_ptr<Job>); std::string summary () const; std::string technical_summary () const; |
