summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-11-24 18:09:37 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-11-24 18:09:37 (GMT)
commitc7fb528f0d80f9d96a2d84444352386d5d4288dc (patch)
treebc52f4729e948c5021ab322e6ad739f315d41140 /SwifTools/Idle/DummyIdleQuerier.h
parentea951bec1c4b84b739a9f435e0d17dbb99e4d724 (diff)
downloadswift-contrib-c7fb528f0d80f9d96a2d84444352386d5d4288dc.zip
swift-contrib-c7fb528f0d80f9d96a2d84444352386d5d4288dc.tar.bz2
Added SwifTools/Idle module.
Diffstat (limited to 'SwifTools/Idle/DummyIdleQuerier.h')
-rw-r--r--SwifTools/Idle/DummyIdleQuerier.h14
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;
+ }
+ };
+}