Mercurial > hg > Game > Cerium
diff include/TaskManager/SchedMail.h @ 42:aa11038dbdc1
*** empty log message ***
author | gongo |
---|---|
date | Thu, 14 Feb 2008 18:27:37 +0900 |
parents | |
children | 028ffc9c0375 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/TaskManager/SchedMail.h Thu Feb 14 18:27:37 2008 +0900 @@ -0,0 +1,33 @@ +#ifndef INCLUDED_SCHED_MAIL +#define INCLUDED_SCHED_MAIL + +#ifndef INCLUDED_SCHEDULER +# include "Scheduler.h" +#endif + +#ifndef INCLUDED_SCHED_TASK_BASE +# include "SchedTaskBase.h" +#endif + +#include "error.h" + +class SchedMail : public SchedTaskBase{ +public: + /* constructor */ + SchedMail(DmaManager *); + + /* variables */ + unsigned int params_addr; + DmaManager* connector; + + /* functions */ + void read(void); + SchedTaskBase* next(Scheduler *, SchedTaskBase *); + +#if DEBUG + void exec(void) { __debug("[SchedMail:%s]\n", __FUNCTION__); } + void write(void) { __debug("[SchedMail:%s]\n", __FUNCTION__); } +#endif +}; + +#endif