diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2018-03-19 00:16:25 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2018-03-19 00:16:25 +0100 |
| commit | 5a2fe9e2f226db509315c8e4290e9794a0ce0557 (patch) | |
| tree | 0db07881c59560d7bc7ba5a3f0b30ac16368c9d6 /src/monitor.hh | |
| parent | 66537685abb429be69ea2f82db6eca0c79e0f218 (diff) | |
Expand fake monitor to make testing removing machines easier
Diffstat (limited to 'src/monitor.hh')
| -rw-r--r-- | src/monitor.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/monitor.hh b/src/monitor.hh index 14168f0..bf9cb05 100644 --- a/src/monitor.hh +++ b/src/monitor.hh @@ -54,6 +54,10 @@ public: virtual void add_observer(Observer* observer) = 0; virtual void remove_observer(Observer* observer) = 0; +#if FAKE_MONITOR + virtual void toggle_fakes() = 0; +#endif + protected: Monitor() {} Monitor(Monitor const&) = delete; |
