summaryrefslogtreecommitdiff
path: root/src/subtitle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/subtitle.h')
-rw-r--r--src/subtitle.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/subtitle.h b/src/subtitle.h
index 073bfb0c..ad98152d 100644
--- a/src/subtitle.h
+++ b/src/subtitle.h
@@ -21,13 +21,10 @@
#define LIBDCP_SUBTITLE_H
#include "dcp_time.h"
+#include <libcxml/cxml.h>
#include <boost/shared_ptr.hpp>
#include <list>
-namespace cxml {
- class Node;
-}
-
namespace dcp {
class Font;
@@ -37,7 +34,7 @@ class Subtitle
{
public:
Subtitle () {}
- Subtitle (boost::shared_ptr<const cxml::Node> node);
+ Subtitle (cxml::ConstNodePtr node);
Time in;
Time out;
@@ -47,7 +44,7 @@ public:
std::list<boost::shared_ptr<Text> > text_nodes;
private:
- Time fade_time (boost::shared_ptr<const cxml::Node>, std::string name);
+ Time fade_time (cxml::ConstNodePtr, std::string name);
};
}