summaryrefslogtreecommitdiffstats
path: root/src/uscxml/messages/MMIMessages.h
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-08-14 08:11:54 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-08-14 08:11:54 (GMT)
commit8684cefe080ab61d11d956d17ecfa417c2446dcc (patch)
treee8f53f52b8098d96d878d0a7f3b07b9b0ba094f3 /src/uscxml/messages/MMIMessages.h
parent66b0852b0618cc4bfff08d47aa0af56353226190 (diff)
downloaduscxml-8684cefe080ab61d11d956d17ecfa417c2446dcc.zip
uscxml-8684cefe080ab61d11d956d17ecfa417c2446dcc.tar.gz
uscxml-8684cefe080ab61d11d956d17ecfa417c2446dcc.tar.bz2
JavaScriptCore in CMake module
Diffstat (limited to 'src/uscxml/messages/MMIMessages.h')
-rw-r--r--src/uscxml/messages/MMIMessages.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/uscxml/messages/MMIMessages.h b/src/uscxml/messages/MMIMessages.h
index e4456f8..c6a2fce 100644
--- a/src/uscxml/messages/MMIMessages.h
+++ b/src/uscxml/messages/MMIMessages.h
@@ -62,6 +62,7 @@ public:
std::string source;
std::string target;
std::string data;
+ Arabica::DOM::Node<std::string> dataDOM;
std::string requestId;
std::string tagName;
Type type;
@@ -228,6 +229,7 @@ public:
InterpreterImpl* interpreter = NULL);
operator Event() const;
std::string content;
+ Arabica::DOM::Node<std::string> contentDOM;
ContentURL contentURL;
protected:
ContentRequest() {}
@@ -296,15 +298,17 @@ protected:
class StatusResponse : public ContextualizedRequest {
public:
enum Status {
- ALIVE = 0,
- DEAD = 1,
- SUCCESS = 2,
- FAILURE = 3
+ INVALID = 0,
+ ALIVE = 1,
+ DEAD = 2,
+ SUCCESS = 3,
+ FAILURE = 4
};
StatusResponse() {
tagName = "StatusResponse";
type = STATUSRESPONSE;
+ status = INVALID;
}
virtual Arabica::DOM::Document<std::string> toXML(bool encapsulateInMMI = false) const;
static StatusResponse fromXML(Arabica::DOM::Node<std::string> node,