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
|
2008-09-08 22:14:14 +04:00
|
|
|
#include <proto/timer.h>
|
2013-04-04 22:59:35 +04:00
|
|
|
#include "utils/schedule.h"
|
2010-12-30 03:53:11 +03:00
|
|
|
#include "amiga/os3support.h"
|
|
|
|
|
2011-02-19 20:19:38 +03:00
|
|
|
struct Device *TimerBase;
|
|
|
|
struct TimerIFace *ITimer;
|
|
|
|
|
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
|
|
|
|
2011-02-19 20:19:38 +03:00
|
|
|
void ami_schedule_open_timer(void);
|
|
|
|
void ami_schedule_close_timer(void);
|
2011-02-17 00:29:39 +03:00
|
|
|
BOOL ami_schedule_create(void);
|
|
|
|
void ami_schedule_free(void);
|
|
|
|
void schedule_run(BOOL poll);
|
2008-08-03 20:10:10 +04:00
|
|
|
#endif
|