summaryrefslogtreecommitdiffstats
path: root/apps/uscxml-browser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/uscxml-browser.cpp')
-rw-r--r--apps/uscxml-browser.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/uscxml-browser.cpp b/apps/uscxml-browser.cpp
index 81d8883..d485b3a 100644
--- a/apps/uscxml-browser.cpp
+++ b/apps/uscxml-browser.cpp
@@ -21,6 +21,10 @@ class VerboseMonitor : public uscxml::InterpreterMonitor {
printConfig(interpreter.getConfiguration());
}
+ void beforeProcessingEvent(uscxml::Interpreter interpreter, const uscxml::Event& event) {
+ std::cout << "Event: " << event.name << std::endl;
+ }
+
void beforeCompletion(uscxml::Interpreter interpreter) {
printConfig(interpreter.getConfiguration());
}
@@ -125,6 +129,10 @@ int main(int argc, char** argv) {
google::LogToStderr();
google::InitGoogleLogging(argv[0]);
+ if (options.pluginPath.length() > 0) {
+ Factory::pluginPath = options.pluginPath;
+ }
+
// setup HTTP server
HTTPServer::SSLConfig* sslConf = NULL;
if (options.certificate.length() > 0) {