summaryrefslogtreecommitdiff
path: root/riscos/gui.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-03-21 12:46:56 +0000
committerJames Bursa <james@netsurf-browser.org>2004-03-21 12:46:56 +0000
commitf962f4301c41514d140e303f0052e18a4a622022 (patch)
tree50ef1d08c840a01d0fe78c03fd6802c66671b753 /riscos/gui.h
parent19bb86e2ad7eeb96eba8711e8d783558685e27ee (diff)
downloadnetsurf-f962f4301c41514d140e303f0052e18a4a622022.tar.gz
netsurf-f962f4301c41514d140e303f0052e18a4a622022.tar.bz2
[project @ 2004-03-21 12:46:56 by bursa]
Implement scheduled callbacks. svn path=/import/netsurf/; revision=640
Diffstat (limited to 'riscos/gui.h')
-rw-r--r--riscos/gui.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/riscos/gui.h b/riscos/gui.h
index 081040b2e..a0f7c6a19 100644
--- a/riscos/gui.h
+++ b/riscos/gui.h
@@ -162,6 +162,13 @@ void ro_gui_save_datasave_ack(wimp_message *message);
/* in filetype.c */
int ro_content_filetype(struct content *content);
+/* in schedule.c */
+extern bool sched_active;
+extern os_t sched_time;
+void schedule(int t, void (*callback)(void *p), void *p);
+void schedule_remove(void (*callback)(void *p), void *p);
+void schedule_run(void);
+
/* icon numbers */
#define ICON_TOOLBAR_THROBBER 1
#define ICON_TOOLBAR_URL 2