summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/datamodel/c89/C89DataModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/plugins/datamodel/c89/C89DataModel.h')
-rw-r--r--src/uscxml/plugins/datamodel/c89/C89DataModel.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/uscxml/plugins/datamodel/c89/C89DataModel.h b/src/uscxml/plugins/datamodel/c89/C89DataModel.h
index 526d06c..880b6a4 100644
--- a/src/uscxml/plugins/datamodel/c89/C89DataModel.h
+++ b/src/uscxml/plugins/datamodel/c89/C89DataModel.h
@@ -23,7 +23,10 @@
#include "uscxml/plugins/DataModelImpl.h"
#include <list>
+#ifndef WIN32
#define UNIX_HOST
+#endif
+
#define PICOC_STACK_SIZE (128*1024) /* space for the the stack */
extern "C" {
@@ -80,8 +83,13 @@ public:
virtual bool isDeclared(const std::string& expr);
- virtual void assign(const std::string& location, const Data& data);
- virtual void init(const std::string& location, const Data& data);
+ virtual void assign(const std::string& location,
+ const Data& data,
+ const std::map<std::string, std::string>& attr = std::map<std::string, std::string>());
+
+ virtual void init(const std::string& location,
+ const Data& data,
+ const std::map<std::string, std::string>& attr = std::map<std::string, std::string>());
virtual std::string andExpressions(std::list<std::string>);