diff options
Diffstat (limited to 'Swift/Controllers/IdleDetector.h')
-rw-r--r-- | Swift/Controllers/IdleDetector.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Swift/Controllers/IdleDetector.h b/Swift/Controllers/IdleDetector.h new file mode 100644 index 0000000..72fe07c --- /dev/null +++ b/Swift/Controllers/IdleDetector.h @@ -0,0 +1,16 @@ +#pragma once + +#include <boost/signals.hpp> +#include <boost/shared_ptr.hpp> + +namespace Swift { +class IdleDetector { + public: + virtual ~IdleDetector() {}; + virtual void forceNotIdle() = 0; + boost::signal<void ()> onInputIdle; + boost::signal<void ()> onInputNotIdle; +}; +} + + |