Archived
1
0

track primordial goo frontends

This commit is contained in:
Jeff Becker
2016-10-15 09:12:01 -04:00
parent 9e9a1efe06
commit cc089b3401
20 changed files with 900 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
#ifndef NNTPCHAN_EVENT_HPP
#define NNTPCHAN_EVENT_HPP
#include <uv.h>
namespace nntpchan
{
class Mainloop
{
public:
Mainloop();
~Mainloop();
operator uv_loop_t * () const { return m_loop; }
void Run(uv_run_mode mode = UV_RUN_DEFAULT);
void Stop();
private:
uv_loop_t * m_loop;
};
}
#endif