2008-08-03 20:10:10 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2008 Chris Young <chris@unsatisfactorysoftware.co.uk>
|
|
|
|
*
|
|
|
|
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
|
|
|
*
|
|
|
|
* NetSurf is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
|
|
|
*
|
|
|
|
* NetSurf is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef AMIGA_SCHEDULE_H
|
|
|
|
#define AMIGA_SCHEDULE_H
|
|
|
|
#include <exec/lists.h>
|
2008-09-08 22:14:14 +04:00
|
|
|
#include <proto/timer.h>
|
2008-08-03 20:10:10 +04:00
|
|
|
|
2010-12-30 03:53:11 +03:00
|
|
|
#include "amiga/os3support.h"
|
|
|
|
|
2008-08-03 20:10:10 +04:00
|
|
|
struct MinList *schedule_list;
|
2008-12-20 13:54:59 +03:00
|
|
|
struct TimeRequest *tioreq;
|
2009-10-16 01:35:29 +04:00
|
|
|
struct MsgPort *msgport;
|
2008-08-03 20:10:10 +04:00
|
|
|
|
|
|
|
struct nscallback
|
|
|
|
{
|
2008-12-20 13:54:59 +03:00
|
|
|
struct TimeVal tv;
|
2008-08-03 20:10:10 +04:00
|
|
|
void *callback;
|
|
|
|
void *p;
|
2008-12-20 13:54:59 +03:00
|
|
|
struct TimeRequest *treq;
|
2008-08-03 20:10:10 +04:00
|
|
|
};
|
2008-09-08 22:14:14 +04:00
|
|
|
|
|
|
|
void ami_remove_timer_event(struct nscallback *nscb);
|
2010-04-29 22:22:04 +04:00
|
|
|
BOOL schedule_run(void);
|
2008-08-03 20:10:10 +04:00
|
|
|
#endif
|