diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-25 08:53:32 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-25 09:10:39 +0200 |
commit | 0459cda9c06549a27d9a62138509cc3d4412e485 (patch) | |
tree | 6263498d98ce46596ea67314f3545fcd3c8edb09 /api/plugin-api.cpp | |
parent | 15ca247adc52ba0d7fdb86482f2f541025800be0 (diff) |
api/plugins: silence clang's -Wweak-vtable
Diffstat (limited to 'api/plugin-api.cpp')
-rw-r--r-- | api/plugin-api.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/api/plugin-api.cpp b/api/plugin-api.cpp new file mode 100644 index 00000000..1bf56200 --- /dev/null +++ b/api/plugin-api.cpp @@ -0,0 +1,21 @@ +#include "plugin-api.hpp" + +// these exist so that vtable is emitted in a single compilation unit, not all of them. + +Metadata::~Metadata() {} +IFilter::~IFilter() {} +IFilterDialog::~IFilterDialog() {} +IProtocol::~IProtocol() {} +IProtocolDialog::~IProtocolDialog() {} +ITracker::~ITracker() {} +ITrackerDialog::~ITrackerDialog() {} + +plugin_api::detail::BaseDialog::BaseDialog() {} +void plugin_api::detail::BaseDialog::closeEvent(QCloseEvent*) { emit closing(); } +Metadata::Metadata() {} +IFilter::IFilter() {} +IFilterDialog::IFilterDialog() {} +IProtocol::IProtocol() {} +IProtocolDialog::IProtocolDialog() {} +ITracker::ITracker() {} +ITrackerDialog::ITrackerDialog() {} |