diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-01-23 16:58:06 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-01-23 16:58:06 (GMT) |
commit | 69247ac083836cfae493e0d220c5faf3818c0bf9 (patch) | |
tree | a63e584f7d3731ccaccb6ce02f844ea2b46f4cb9 /src/uscxml/plugins/invoker/dirmon/DirMonInvoker.cpp | |
parent | ef66cbbaf07bd1ac661f9a9622dcdaf6851ca6ba (diff) | |
download | uscxml-69247ac083836cfae493e0d220c5faf3818c0bf9.zip uscxml-69247ac083836cfae493e0d220c5faf3818c0bf9.tar.gz uscxml-69247ac083836cfae493e0d220c5faf3818c0bf9.tar.bz2 |
Introduced InvokerCallbacks
Diffstat (limited to 'src/uscxml/plugins/invoker/dirmon/DirMonInvoker.cpp')
-rw-r--r-- | src/uscxml/plugins/invoker/dirmon/DirMonInvoker.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/uscxml/plugins/invoker/dirmon/DirMonInvoker.cpp b/src/uscxml/plugins/invoker/dirmon/DirMonInvoker.cpp index b5d7e8b..be13bf4 100644 --- a/src/uscxml/plugins/invoker/dirmon/DirMonInvoker.cpp +++ b/src/uscxml/plugins/invoker/dirmon/DirMonInvoker.cpp @@ -34,6 +34,7 @@ #include <boost/algorithm/string.hpp> #include "uscxml/interpreter/Logging.h" +#include "uscxml/util/URL.h" namespace uscxml { @@ -63,9 +64,9 @@ DirMonInvoker::~DirMonInvoker() { delete(_watcher); }; -std::shared_ptr<InvokerImpl> DirMonInvoker::create(InterpreterImpl* interpreter) { +std::shared_ptr<InvokerImpl> DirMonInvoker::create(InvokerCallbacks* callbacks) { std::shared_ptr<DirMonInvoker> invoker(new DirMonInvoker()); - invoker->_callbacks = interpreter; + invoker->_callbacks = callbacks; return invoker; } |