summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/Factory.h')
-rw-r--r--src/uscxml/Factory.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/uscxml/Factory.h b/src/uscxml/Factory.h
index 3ddd9ad..74cb2a4 100644
--- a/src/uscxml/Factory.h
+++ b/src/uscxml/Factory.h
@@ -111,6 +111,8 @@ protected:
class EventHandlerImpl {
public:
+ virtual ~EventHandlerImpl() {}
+
virtual std::set<std::string> getNames() = 0;
virtual void setInterpreter(InterpreterImpl* interpreter) {
@@ -128,6 +130,8 @@ public:
virtual void runOnMainThread() {};
void returnEvent(Event& event);
+ void returnErrorExecution(const std::string&);
+ void returnErrorPlatform(const std::string&);
protected:
InterpreterImpl* _interpreter;
@@ -211,6 +215,7 @@ protected:
class InvokerImpl : public EventHandlerImpl {
public:
+ virtual ~InvokerImpl() {}
virtual void invoke(const InvokeRequest& req) = 0;
virtual boost::shared_ptr<InvokerImpl> create(InterpreterImpl* interpreter) = 0;
};