summaryrefslogtreecommitdiff
path: root/src/lib/subtitle_content.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/subtitle_content.h')
-rw-r--r--src/lib/subtitle_content.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/subtitle_content.h b/src/lib/subtitle_content.h
index 388637688..cc91a2df8 100644
--- a/src/lib/subtitle_content.h
+++ b/src/lib/subtitle_content.h
@@ -34,11 +34,13 @@ class SubtitleContent : public virtual Content
{
public:
SubtitleContent (boost::shared_ptr<const Film>, boost::filesystem::path);
- SubtitleContent (boost::shared_ptr<const Film>, boost::shared_ptr<const cxml::Node>, int version);
+ SubtitleContent (boost::shared_ptr<const Film>, cxml::ConstNodePtr, int version);
SubtitleContent (boost::shared_ptr<const Film>, std::vector<boost::shared_ptr<Content> >);
-
+
void as_xml (xmlpp::Node *) const;
+ virtual bool has_subtitle_during (ContentTimePeriod) const = 0;
+
void set_subtitle_x_offset (double);
void set_subtitle_y_offset (double);
void set_subtitle_scale (double);
@@ -57,7 +59,7 @@ public:
boost::mutex::scoped_lock lm (_mutex);
return _subtitle_scale;
}
-
+
private:
friend class ffmpeg_pts_offset_test;