summaryrefslogtreecommitdiffstats
path: root/src/bindings/swig/wrapped/WrappedInvoker.h
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2017-01-23 16:58:06 (GMT)
committerStefan Radomski <github@mintwerk.de>2017-01-23 16:58:06 (GMT)
commit69247ac083836cfae493e0d220c5faf3818c0bf9 (patch)
treea63e584f7d3731ccaccb6ce02f844ea2b46f4cb9 /src/bindings/swig/wrapped/WrappedInvoker.h
parentef66cbbaf07bd1ac661f9a9622dcdaf6851ca6ba (diff)
downloaduscxml-69247ac083836cfae493e0d220c5faf3818c0bf9.zip
uscxml-69247ac083836cfae493e0d220c5faf3818c0bf9.tar.gz
uscxml-69247ac083836cfae493e0d220c5faf3818c0bf9.tar.bz2
Introduced InvokerCallbacks
Diffstat (limited to 'src/bindings/swig/wrapped/WrappedInvoker.h')
-rw-r--r--src/bindings/swig/wrapped/WrappedInvoker.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bindings/swig/wrapped/WrappedInvoker.h b/src/bindings/swig/wrapped/WrappedInvoker.h
index bb5d1ba..dde8602 100644
--- a/src/bindings/swig/wrapped/WrappedInvoker.h
+++ b/src/bindings/swig/wrapped/WrappedInvoker.h
@@ -40,15 +40,15 @@ namespace uscxml {
class WrappedInvoker : public InvokerImpl {
public:
- WrappedInvoker(InterpreterImpl* interpreter);
+ WrappedInvoker(InvokerCallbacks* callbacks);
virtual ~WrappedInvoker();
virtual std::list<std::string> getNames() {
return std::list<std::string>();
};
- virtual std::shared_ptr<InvokerImpl> create(InterpreterImpl* interpreter) {
- std::shared_ptr<InvokerImpl> inv = std::shared_ptr<InvokerImpl>(new WrappedInvoker(interpreter));
+ virtual std::shared_ptr<InvokerImpl> create(InvokerCallbacks* callbacks) {
+ std::shared_ptr<InvokerImpl> inv = std::shared_ptr<InvokerImpl>(new WrappedInvoker(callbacks));
return inv;
}
virtual void invoke(const std::string& source, const Event& invokeEvent) {}
@@ -75,7 +75,7 @@ public:
}
private:
- InterpreterImpl* _interpreter;
+ InvokerCallbacks* _callbacks;
};