summaryrefslogtreecommitdiff
path: root/src/text.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-26 22:40:33 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-26 22:40:33 +0000
commita5fafaa249e3cd45b6c64592991ab1f0e0247e5f (patch)
tree62d118eec6c9406d2484ae1735d745dd55eb3c37 /src/text.cc
parent93096af59d8235235c0caed929b6f72dcf09cdc9 (diff)
Comments / tidying up.
Diffstat (limited to 'src/text.cc')
-rw-r--r--src/text.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/text.cc b/src/text.cc
index 5d2a2d1b..c70e4333 100644
--- a/src/text.cc
+++ b/src/text.cc
@@ -17,6 +17,10 @@
*/
+/** @file src/text.cc
+ * @brief Text class for parsing subtitle XML.
+ */
+
#include "text.h"
#include "xml.h"
#include "font.h"
@@ -27,6 +31,10 @@ using boost::shared_ptr;
using boost::optional;
using namespace dcp;
+/** Read a &lt;Text&gt; node from a subtitle XML file, noting its contents
+ * in this object's member variables.
+ * @param node Node to read.
+ */
Text::Text (shared_ptr<const cxml::Node> node)
: v_align (CENTER)
{