- NONE, /// No main loop - main() will just return
- SLEEP, /// Only sleep in the main loop - useful for servers
- TICK_SLEEP, /// Call tick every iteration, with a short sleep in between
- TICK_YIELD, /// Call tick every iteration, with sched_yield in between
- TICK_BUSY /// Call tick every iteration
- };
-
- class RegBase
- {
- public:
- virtual Application *create_app(int, char **)=0;
- virtual void usage(const char *, const char *, bool)=0;
- virtual ~RegBase() { }