aboutsummaryrefslogtreecommitdiffstats
path: root/src/Instance.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Instance.cxx')
-rw-r--r--src/Instance.cxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Instance.cxx b/src/Instance.cxx
index 5b7c2de2d..16000afb3 100644
--- a/src/Instance.cxx
+++ b/src/Instance.cxx
@@ -54,3 +54,19 @@ Instance::OnDatabaseModified()
{
DatabaseModified();
}
+
+#ifdef ENABLE_NEIGHBOR_PLUGINS
+
+void
+Instance::FoundNeighbor(gcc_unused const NeighborInfo &info)
+{
+ idle_add(IDLE_NEIGHBOR);
+}
+
+void
+Instance::LostNeighbor(gcc_unused const NeighborInfo &info)
+{
+ idle_add(IDLE_NEIGHBOR);
+}
+
+#endif