diff options
Diffstat (limited to 'src/Instance.cxx')
-rw-r--r-- | src/Instance.cxx | 16 |
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 |