summaryrefslogtreecommitdiffstats
path: root/src/uscxml/transform/Transformer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/transform/Transformer.h')
-rw-r--r--src/uscxml/transform/Transformer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/uscxml/transform/Transformer.h b/src/uscxml/transform/Transformer.h
index 8ea19d9..313bfaa 100644
--- a/src/uscxml/transform/Transformer.h
+++ b/src/uscxml/transform/Transformer.h
@@ -36,7 +36,7 @@ public:
};
-class USCXML_API Transformer {
+class USCXML_API Transformer : public boost::enable_shared_from_this<Transformer> {
public:
// Transformer(const Interpreter& source) { _impl = new (source) }
@@ -69,6 +69,10 @@ public:
return _impl->operator Interpreter();
}
+ boost::shared_ptr<TransformerImpl> getImpl() {
+ return _impl;
+ }
+
protected:
boost::shared_ptr<TransformerImpl> _impl;