summaryrefslogtreecommitdiffstats
path: root/src/bindings/swig/wrapped/WrappedActionLanguage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/swig/wrapped/WrappedActionLanguage.cpp')
-rw-r--r--src/bindings/swig/wrapped/WrappedActionLanguage.cpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/bindings/swig/wrapped/WrappedActionLanguage.cpp b/src/bindings/swig/wrapped/WrappedActionLanguage.cpp
new file mode 100644
index 0000000..1876333
--- /dev/null
+++ b/src/bindings/swig/wrapped/WrappedActionLanguage.cpp
@@ -0,0 +1,33 @@
+/**
+ * @file
+ * @author 2012-2014 Stefan Radomski (stefan.radomski@cs.tu-darmstadt.de)
+ * @copyright Simplified BSD
+ *
+ * @cond
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the FreeBSD license as published by the FreeBSD
+ * project.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the FreeBSD license along with this
+ * program. If not, see <http://www.opensource.org/licenses/bsd-license>.
+ * @endcond
+ */
+
+#include "WrappedActionLanguage.h"
+#include "../../../uscxml/plugins/DataModelImpl.h"
+
+namespace uscxml {
+
+WrappedActionLanguage::WrappedActionLanguage() {}
+WrappedActionLanguage::~WrappedActionLanguage() {}
+
+void WrappedActionLanguage::setDataModel(DataModelImpl* dm) {
+ std::shared_ptr<DataModelImpl> dmPtr(dm);
+ this->dataModel = DataModel(dmPtr);
+}
+
+} \ No newline at end of file