summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Message.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/Message.h')
-rw-r--r--src/uscxml/Message.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/uscxml/Message.h b/src/uscxml/Message.h
index 43eecdf..96ff6c8 100644
--- a/src/uscxml/Message.h
+++ b/src/uscxml/Message.h
@@ -52,7 +52,7 @@ protected:
#endif
};
-class Event : public Data {
+class Event {
public:
enum Type {
INTERNAL = 1,
@@ -70,7 +70,8 @@ public:
Arabica::DOM::Node<std::string> dom;
std::string sendid;
std::string invokeid;
-
+ Data data;
+
static Event fromXML(const std::string& xmlString);
Arabica::DOM::Document<std::string> toDocument();
std::string toXMLString() {