summaryrefslogtreecommitdiff
path: root/src/CommonAPI/Stub.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/CommonAPI/Stub.h')
-rw-r--r--src/CommonAPI/Stub.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CommonAPI/Stub.h b/src/CommonAPI/Stub.h
index 7353f54..740cc7a 100644
--- a/src/CommonAPI/Stub.h
+++ b/src/CommonAPI/Stub.h
@@ -21,6 +21,8 @@ class StubAdapter {
virtual const std::string& getDomain() const = 0;
virtual const std::string& getServiceId() const = 0;
virtual const std::string& getInstanceId() const = 0;
+
+ virtual void deinit() = 0;
};
struct StubBase {
@@ -37,6 +39,7 @@ class Stub : public StubBase {
virtual ~Stub() { }
virtual _StubRemoteEventHandler* initStubAdapter(const std::shared_ptr<_StubAdapter>& stubAdapter) = 0;
+ virtual void deinitStubAdapter() = 0;
};
} // namespace CommonAPI