summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/Factory.cpp
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2016-06-23 13:04:40 (GMT)
committerStefan Radomski <github@mintwerk.de>2016-06-23 13:04:40 (GMT)
commitd80b78929111c522a604c99214c3b25eecc61139 (patch)
treef5417257bd669d989d6859339a4a5ea3f97c09c1 /src/uscxml/plugins/Factory.cpp
parent64298f234d4751d094ef91833830337417404e82 (diff)
downloaduscxml-d80b78929111c522a604c99214c3b25eecc61139.zip
uscxml-d80b78929111c522a604c99214c3b25eecc61139.tar.gz
uscxml-d80b78929111c522a604c99214c3b25eecc61139.tar.bz2
First signs of a C89 datamodel
Diffstat (limited to 'src/uscxml/plugins/Factory.cpp')
-rw-r--r--src/uscxml/plugins/Factory.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/uscxml/plugins/Factory.cpp b/src/uscxml/plugins/Factory.cpp
index e551a61..4dabab6 100644
--- a/src/uscxml/plugins/Factory.cpp
+++ b/src/uscxml/plugins/Factory.cpp
@@ -52,6 +52,10 @@
# include "uscxml/plugins/datamodel/lua/LuaDataModel.h"
#endif
+#ifdef WITH_DM_C89
+# include "uscxml/plugins/datamodel/c89/C89DataModel.h"
+#endif
+
#ifdef WITH_INV_SCXML
# include "uscxml/plugins/invoker/scxml/USCXMLInvoker.h"
@@ -120,6 +124,13 @@ void Factory::registerPlugins() {
}
#endif
+#ifdef WITH_DM_C89
+ {
+ C89DataModel* dataModel = new C89DataModel();
+ registerDataModel(dataModel);
+ }
+#endif
+
{
NULLDataModel* dataModel = new NULLDataModel();
registerDataModel(dataModel);