summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-10-10 16:07:44 +0100
committerCarl Hetherington <cth@carlh.net>2014-10-10 16:07:44 +0100
commite30c30ef7bbd8413ac0c8390abe574d5dd1cf5f7 (patch)
treef67b4a9364264d433535dbc24a19b6df6ac59049 /src/text.h
parent863ff8cced5b7d1d36ad6761fa1f6e2dbeafcad6 (diff)
Adapt to new libcxml ARI. Compiles but does not pass tests.1.0-new-cxml
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/text.h b/src/text.h
index 268d146c..d6db064b 100644
--- a/src/text.h
+++ b/src/text.h
@@ -22,13 +22,10 @@
*/
#include "types.h"
+#include <libcxml/cxml.h>
#include <boost/shared_ptr.hpp>
#include <list>
-namespace cxml {
- class Node;
-}
-
namespace dcp {
class Font;
@@ -45,7 +42,7 @@ public:
, v_align (TOP)
{}
- Text (boost::shared_ptr<const cxml::Node> node);
+ Text (cxml::ConstNodePtr node);
float v_position;
VAlign v_align;