diff options
Diffstat (limited to 'src/poll_looper.hh')
| -rw-r--r-- | src/poll_looper.hh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/poll_looper.hh b/src/poll_looper.hh new file mode 100644 index 0000000..16097fe --- /dev/null +++ b/src/poll_looper.hh @@ -0,0 +1,15 @@ +#ifndef POLL_LOOPER_HH +#define POLL_LOOPER_HH + +#include "looper.hh" + +class PollLooper : public Looper { +public: + static PollLooper* create(); + + virtual void run() = 0; + + virtual void exit_when_empty() = 0; +}; + +#endif // POLL_LOOPER_HH |
