summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-02 07:52:22 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-02 07:54:24 +0200
commit84c3f6ba94aed8b1132359e39430296e3624c6a9 (patch)
treef749fcc1c3af3d8063c38f94d25321ec4e5a18c0
parent840515d29491f753127b86bb48f9ad5fd56e817c (diff)
api: add vtable object file for extensions
-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;
};