diff options
Diffstat (limited to 'src/uscxml/Factory.cpp')
-rw-r--r-- | src/uscxml/Factory.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/uscxml/Factory.cpp b/src/uscxml/Factory.cpp index e927693..c74196a 100644 --- a/src/uscxml/Factory.cpp +++ b/src/uscxml/Factory.cpp @@ -47,6 +47,10 @@ # include "uscxml/plugins/datamodel/prolog/swi/SWIDataModel.h" # endif +#include "uscxml/plugins/datamodel/null/NULLDataModel.h" +#include "uscxml/plugins/datamodel/xpath/XPathDataModel.h" + + # include "uscxml/plugins/element/fetch/FetchElement.h" # include "uscxml/plugins/element/response/ResponseElement.h" # include "uscxml/plugins/element/postpone/PostponeElement.h" @@ -146,6 +150,14 @@ Factory::Factory() { // these are always available { + NULLDataModel* dataModel = new NULLDataModel(); + registerDataModel(dataModel); + } + { + XPathDataModel* dataModel = new XPathDataModel(); + registerDataModel(dataModel); + } + { USCXMLInvoker* invoker = new USCXMLInvoker(); registerInvoker(invoker); } |