diff options
-rw-r--r-- | embedding/java/src/org/uscxml/tests/ioprocessor/console/ConsoleFrame.java | 1 | ||||
-rw-r--r-- | src/bindings/swig/uscxml_beautify.i | 8 | ||||
-rw-r--r-- | src/bindings/swig/uscxml_ignores.i | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/embedding/java/src/org/uscxml/tests/ioprocessor/console/ConsoleFrame.java b/embedding/java/src/org/uscxml/tests/ioprocessor/console/ConsoleFrame.java index 0e2388f..8ef0d32 100644 --- a/embedding/java/src/org/uscxml/tests/ioprocessor/console/ConsoleFrame.java +++ b/embedding/java/src/org/uscxml/tests/ioprocessor/console/ConsoleFrame.java @@ -46,7 +46,6 @@ public class ConsoleFrame extends Frame { + " <final id=\"quit\" />" + "</scxml>"); - perInterpreter.put(interpreter, this); Thread intrerpreterThread = new Thread(new Runnable() { diff --git a/src/bindings/swig/uscxml_beautify.i b/src/bindings/swig/uscxml_beautify.i index 6daba77..76f371e 100644 --- a/src/bindings/swig/uscxml_beautify.i +++ b/src/bindings/swig/uscxml_beautify.i @@ -60,6 +60,14 @@ %extend uscxml::Interpreter { + void addIOProcessor(uscxml::WrappedIOProcessor* ioProc) { + self->addIOProcessor(boost::shared_ptr<IOProcessorImpl>(ioProc)); + } + + void setDataModel(WrappedDataModel* dataModel) { + self->setDataModel(boost::shared_ptr<DataModelImpl>(dataModel)); + } + std::vector<std::string> getBasicConfiguration() { Arabica::XPath::NodeSet<std::string> nativeConfig = self->getBasicConfiguration(); std::vector<std::string> config; diff --git a/src/bindings/swig/uscxml_ignores.i b/src/bindings/swig/uscxml_ignores.i index c9df57f..b6a0a3f 100644 --- a/src/bindings/swig/uscxml_ignores.i +++ b/src/bindings/swig/uscxml_ignores.i @@ -45,6 +45,8 @@ %ignore uscxml::Interpreter::stop(); %ignore uscxml::Interpreter::isRunning(); %ignore uscxml::Interpreter::setCmdLineOptions(std::map<std::string, std::string>); +%ignore uscxml::Interpreter::setDataModel(const DataModel& dataModel); +%ignore uscxml::Interpreter::addIOProcessor(IOProcessor ioProc); %ignore uscxml::Interpreter::getDocument; %ignore uscxml::Interpreter::getImpl; %ignore uscxml::Interpreter::runOnMainThread; |