summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--api/plugin-api.cpp3
-rw-r--r--api/plugin-api.hpp2
2 files changed, 5 insertions, 0 deletions
diff --git a/api/plugin-api.cpp b/api/plugin-api.cpp
index c1d83d09..c28b5d4e 100644
--- a/api/plugin-api.cpp
+++ b/api/plugin-api.cpp
@@ -43,3 +43,6 @@ void BaseDialog::done(int)
}
}
+IExtensionDialog::~IExtensionDialog()
+{
+}
diff --git a/api/plugin-api.hpp b/api/plugin-api.hpp
index ab5025a7..3846649f 100644
--- a/api/plugin-api.hpp
+++ b/api/plugin-api.hpp
@@ -229,6 +229,8 @@ struct OTR_API_EXPORT IExtension
struct OTR_API_EXPORT IExtensionDialog : public plugin_api::detail::BaseDialog
{
+ ~IExtensionDialog() override;
+
virtual void register_extension(IExtension& ext) = 0;
virtual void unregister_extension() = 0;
};