summaryrefslogtreecommitdiffstats
path: root/src/uscxml/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/server')
-rw-r--r--src/uscxml/server/InterpreterServlet.cpp4
-rw-r--r--src/uscxml/server/InterpreterServlet.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/uscxml/server/InterpreterServlet.cpp b/src/uscxml/server/InterpreterServlet.cpp
index 99b81b2..0386c3b 100644
--- a/src/uscxml/server/InterpreterServlet.cpp
+++ b/src/uscxml/server/InterpreterServlet.cpp
@@ -4,7 +4,7 @@
namespace uscxml {
-InterpreterServlet::InterpreterServlet(Interpreter* interpreter) {
+InterpreterServlet::InterpreterServlet(InterpreterImpl* interpreter) {
_interpreter = interpreter;
std::stringstream path;
@@ -18,7 +18,7 @@ InterpreterServlet::InterpreterServlet(Interpreter* interpreter) {
_path = path.str();
}
-boost::shared_ptr<IOProcessorImpl> InterpreterServlet::create(Interpreter* interpreter) {
+boost::shared_ptr<IOProcessorImpl> InterpreterServlet::create(InterpreterImpl* interpreter) {
// we instantiate directly in Interpreter
boost::shared_ptr<IOProcessorImpl> io = boost::shared_ptr<InterpreterServlet>(new InterpreterServlet(interpreter));
return io;
diff --git a/src/uscxml/server/InterpreterServlet.h b/src/uscxml/server/InterpreterServlet.h
index 18e1d28..6c61e47 100644
--- a/src/uscxml/server/InterpreterServlet.h
+++ b/src/uscxml/server/InterpreterServlet.h
@@ -11,10 +11,10 @@ class Interpreter;
class InterpreterServlet : public HTTPServlet, public IOProcessorImpl {
public:
InterpreterServlet() {};
- InterpreterServlet(Interpreter* interpreter);
+ InterpreterServlet(InterpreterImpl* interpreter);
virtual ~InterpreterServlet() {}
- virtual boost::shared_ptr<IOProcessorImpl> create(Interpreter* interpreter);
+ virtual boost::shared_ptr<IOProcessorImpl> create(InterpreterImpl* interpreter);
virtual std::set<std::string> getNames() {
std::set<std::string> names;
@@ -50,7 +50,7 @@ public:
}
protected:
- Interpreter* _interpreter;
+ InterpreterImpl* _interpreter;
tthread::recursive_mutex _mutex;
std::map<std::string, HTTPServer::Request> _requests;