summaryrefslogtreecommitdiff
path: root/src/xml.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-08-13 01:45:42 +0100
committerCarl Hetherington <cth@carlh.net>2012-08-13 01:45:42 +0100
commit4c987f7feb504fe4011b52ffeb231e3b25823de1 (patch)
tree893c852593830fa5fe5a769bf61fcef86d57b9bf /src/xml.h
parentc14a05a935886345d4d891a92a31b1c35bf10582 (diff)
Basic subtitle test works.
Diffstat (limited to 'src/xml.h')
-rw-r--r--src/xml.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xml.h b/src/xml.h
index 5c071958..85589a0f 100644
--- a/src/xml.h
+++ b/src/xml.h
@@ -8,6 +8,7 @@
#include <boost/shared_ptr.hpp>
#include "types.h"
#include "exceptions.h"
+#include "dcp_time.h"
namespace xmlpp {
class Node;
@@ -35,6 +36,9 @@ protected:
Time time_attribute (std::string);
float float_attribute (std::string);
+ std::string string_attribute (std::string);
+
+ std::string content ();
template <class T>
boost::shared_ptr<T> sub_node (std::string name) {