summaryrefslogtreecommitdiff
path: root/src/subtitle_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-08-13 02:14:00 +0100
committerCarl Hetherington <cth@carlh.net>2012-08-13 02:14:00 +0100
commitcadec42b9547665ac03a7180af374ebb40df7c78 (patch)
treefed45715e96ce2b0046fd956963efb6625407f78 /src/subtitle_asset.h
parent4c987f7feb504fe4011b52ffeb231e3b25823de1 (diff)
Subtitles at method.
Diffstat (limited to 'src/subtitle_asset.h')
-rw-r--r--src/subtitle_asset.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/subtitle_asset.h b/src/subtitle_asset.h
index 02db6815..6d584a0a 100644
--- a/src/subtitle_asset.h
+++ b/src/subtitle_asset.h
@@ -77,6 +77,8 @@ public:
return _subtitles;
}
+ std::list<boost::shared_ptr<Text> > subtitles_at (Time t) const;
+
private:
std::list<boost::shared_ptr<Subtitle> > _subtitles;
};
@@ -95,6 +97,8 @@ public:
return _language;
}
+ std::list<boost::shared_ptr<Text> > subtitles_at (Time t) const;
+
std::list<boost::shared_ptr<Font> > const & fonts () const {
return _fonts;
}