summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.h
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-06-25 21:05:44 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-06-25 21:05:44 (GMT)
commite3767be4f9c5874d9c996200f2e9705ce31a5976 (patch)
treebe3d06f550286e23eeb3252277c1a2b7d12554ef /src/uscxml/Interpreter.h
parent758bda908ded461c9d34d274a18454ffba4b7450 (diff)
downloaduscxml-e3767be4f9c5874d9c996200f2e9705ce31a5976.zip
uscxml-e3767be4f9c5874d9c996200f2e9705ce31a5976.tar.gz
uscxml-e3767be4f9c5874d9c996200f2e9705ce31a5976.tar.bz2
Work on bindings
- Introduced exceptions into C# and Java - Moved binding examples to /embedding - Interpreter will now throw exceptions, beware!
Diffstat (limited to 'src/uscxml/Interpreter.h')
-rw-r--r--src/uscxml/Interpreter.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/uscxml/Interpreter.h b/src/uscxml/Interpreter.h
index d9aeac3..9a3e553 100644
--- a/src/uscxml/Interpreter.h
+++ b/src/uscxml/Interpreter.h
@@ -315,11 +315,11 @@ public:
URL::toBaseURL(baseURI);
_baseURI = baseURI;
}
- URL getBaseURI() {
- return _baseURI;
+ std::string getBaseURI() {
+ return _baseURI.asString();
}
- URL getSourceURI() {
- return _sourceURI;
+ std::string getSourceURI() {
+ return _sourceURI.asString();
}
void setCmdLineOptions(std::map<std::string, std::string> params);
@@ -652,10 +652,10 @@ public:
void setSourceURI(std::string sourceURI) {
return _impl->setSourceURI(sourceURI);
}
- URL getSourceURI() {
+ std::string getSourceURI() {
return _impl->getSourceURI();
}
- URL getBaseURI() {
+ std::string getBaseURI() {
return _impl->getBaseURI();
}