diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-08-13 01:45:42 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-08-13 01:45:42 +0100 |
| commit | 4c987f7feb504fe4011b52ffeb231e3b25823de1 (patch) | |
| tree | 893c852593830fa5fe5a769bf61fcef86d57b9bf /src/xml.h | |
| parent | c14a05a935886345d4d891a92a31b1c35bf10582 (diff) | |
Basic subtitle test works.
Diffstat (limited to 'src/xml.h')
| -rw-r--r-- | src/xml.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) { |
