summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/datamodel/common/bindings/event.i
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/plugins/datamodel/common/bindings/event.i')
-rw-r--r--src/uscxml/plugins/datamodel/common/bindings/event.i22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/uscxml/plugins/datamodel/common/bindings/event.i b/src/uscxml/plugins/datamodel/common/bindings/event.i
new file mode 100644
index 0000000..b7ef165
--- /dev/null
+++ b/src/uscxml/plugins/datamodel/common/bindings/event.i
@@ -0,0 +1,22 @@
+/*
+ * we will have to manage these by hand
+ */
+
+%ignore uscxml::Event::data; // too ambituous
+%ignore uscxml::Event::namelist; // not needed
+%ignore uscxml::Event::params; // not needed
+%ignore uscxml::Event::uuid; // only for internal use
+
+%ignore uscxml::Event::hideSendId; // not needed
+%ignore uscxml::Event::sendid; // supposed to be undef not empty string
+%ignore uscxml::Event::invokeid; // supposed to be undef not empty string
+
+%ignore uscxml::Event::eventtype; // not an enum but a string
+%ignore uscxml::Event::origin; // supposed to be undef not empty string
+%ignore uscxml::Event::origintype; // supposed to be undef not empty string
+
+%{
+using uscxml::Data;
+%}
+
+%include "uscxml/messages/Event.h"