summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/interface/ClientInterface.hpp2
-rw-r--r--src/common/interface/EngineInterface.hpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/common/interface/ClientInterface.hpp b/src/common/interface/ClientInterface.hpp
index e7ddfeaf..2d604ced 100644
--- a/src/common/interface/ClientInterface.hpp
+++ b/src/common/interface/ClientInterface.hpp
@@ -42,6 +42,8 @@ public:
virtual void response_ok(int32_t id) = 0;
virtual void response_error(int32_t id, const std::string& msg) = 0;
+
+ virtual bool enabled() const = 0;
virtual void enable() = 0;
diff --git a/src/common/interface/EngineInterface.hpp b/src/common/interface/EngineInterface.hpp
index b82bf8c2..a9b2a0c1 100644
--- a/src/common/interface/EngineInterface.hpp
+++ b/src/common/interface/EngineInterface.hpp
@@ -38,6 +38,8 @@ class EngineInterface : public CommonInterface
{
public:
virtual ~EngineInterface() {}
+
+ virtual std::string uri() const = 0;
// Responses
virtual void set_next_response_id(int32_t id) = 0;