diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-09-26 20:09:31 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-09-26 20:09:31 +0200 |
| commit | c85b624d28564a6f785b25000e2b7825592a919d (patch) | |
| tree | 647b756c824b470b35f1371eb869e9534ed6c1bb /src/poll_looper.hh | |
Initial commit
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 |
