diff options
Diffstat (limited to 'SwifTools/Idle/DummyIdleQuerier.h')
-rw-r--r-- | SwifTools/Idle/DummyIdleQuerier.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/SwifTools/Idle/DummyIdleQuerier.h b/SwifTools/Idle/DummyIdleQuerier.h new file mode 100644 index 0000000..b8ba776 --- /dev/null +++ b/SwifTools/Idle/DummyIdleQuerier.h @@ -0,0 +1,14 @@ +#pragma once + +#include "SwifTools/Idle/IdleQuerier.h" + +namespace Swift { + class DummyIdleQuerier : public IdleQuerier { + public: + DummyIdleQuerier() {} + + virtual int getIdleTimeSeconds() { + return 0; + } + }; +} |