summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/plugin-api.cpp3
-rw-r--r--api/plugin-api.hpp4
2 files changed, 5 insertions, 2 deletions
diff --git a/api/plugin-api.cpp b/api/plugin-api.cpp
index 20c24e62..729b011f 100644
--- a/api/plugin-api.cpp
+++ b/api/plugin-api.cpp
@@ -12,6 +12,9 @@ IProtocolDialog::~IProtocolDialog() {}
ITracker::~ITracker() {}
ITrackerDialog::~ITrackerDialog() {}
+void ITrackerDialog::register_tracker(ITracker*) {}
+void ITrackerDialog::unregister_tracker() {}
+
BaseDialog::BaseDialog() {}
void BaseDialog::closeEvent(QCloseEvent*)
diff --git a/api/plugin-api.hpp b/api/plugin-api.hpp
index 0588d3f8..533facfb 100644
--- a/api/plugin-api.hpp
+++ b/api/plugin-api.hpp
@@ -172,9 +172,9 @@ struct OTR_API_EXPORT ITrackerDialog : public plugin_api::detail::BaseDialog
// optional destructor
virtual ~ITrackerDialog();
// receive a pointer to the tracker from ui thread
- virtual void register_tracker(ITracker *tracker) = 0;
+ virtual void register_tracker(ITracker *tracker);
// received tracker pointer is about to get deleted
- virtual void unregister_tracker() = 0;
+ virtual void unregister_tracker();
ITrackerDialog();
};