summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-10 00:07:47 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-10 00:07:47 +0000
commit67a414dc3826761c8933640e85560644f5f02310 (patch)
tree6fc3ab11423d5fdd15847890be56bb98ed241852 /src/text.h
parent9fc6bcde891567ca04fe2d9835ab48a17c9b69a7 (diff)
Fix handling of timing in SMPTE subtitles.
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/text.h b/src/text.h
index 268d146c..fe314f76 100644
--- a/src/text.h
+++ b/src/text.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2015 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
@@ -23,6 +23,7 @@
#include "types.h"
#include <boost/shared_ptr.hpp>
+#include <boost/optional.hpp>
#include <list>
namespace cxml {
@@ -45,7 +46,7 @@ public:
, v_align (TOP)
{}
- Text (boost::shared_ptr<const cxml::Node> node);
+ Text (boost::shared_ptr<const cxml::Node> node, int tcr);
float v_position;
VAlign v_align;