2011-09-12 11:31:21 -04:00
|
|
|
#ifndef LIBSARIA_IDLE_H
|
|
|
|
#define LIBSARIA_IDLE_H
|
|
|
|
|
2012-09-12 08:15:31 -04:00
|
|
|
#include <task.h>
|
2012-03-10 18:29:16 -05:00
|
|
|
|
2011-10-01 12:55:32 -04:00
|
|
|
namespace libsaria
|
|
|
|
{
|
2011-10-27 15:07:16 -04:00
|
|
|
namespace idle
|
|
|
|
{
|
2012-03-10 18:29:16 -05:00
|
|
|
|
2012-03-11 09:40:42 -04:00
|
|
|
int size();
|
2012-08-04 13:20:15 -04:00
|
|
|
int run_task();
|
2012-03-11 09:40:42 -04:00
|
|
|
void queue_task(IdleTask *, bool);
|
2012-04-07 09:00:06 -04:00
|
|
|
void cancel_all(void *);
|
2012-03-17 13:27:04 -04:00
|
|
|
float progress();
|
2012-03-10 18:29:16 -05:00
|
|
|
|
2011-10-27 15:07:16 -04:00
|
|
|
};
|
|
|
|
};
|
2011-09-12 11:31:21 -04:00
|
|
|
|
|
|
|
#endif /* LIBSARIA_IDLE_H */
|