view include/TaskManager/SchedMail.h @ 248:f7638e58b733 draft

warning clean
author tkaito@localhost.localdomain
date Tue, 02 Jun 2009 17:40:08 +0900
parents a314d8cd2082
children 3fc86ddf5d1c
line wrap: on
line source

#ifndef INCLUDED_SCHED_MAIL
#define INCLUDED_SCHED_MAIL

#ifndef INCLUDED_BASE_H_
#  include "base.h"
#endif

#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(Scheduler *);

    BASE_NEW_DELETE(SchedMail);

    /* variables */
    unsigned int params_addr;
    Scheduler* scheduler;

    /* functions */
    SchedTaskBase* next(Scheduler *, SchedTaskBase *);

#if DEBUG
    void read(void)  { __debug("[SchedMail:%s]\n", __FUNCTION__); }
    void exec(void)  { __debug("[SchedMail:%s]\n", __FUNCTION__); }
    void write(void) { __debug("[SchedMail:%s]\n", __FUNCTION__); }
#endif
};

#endif