From 17cf5fab71df242d839222abbd59d4b728dc8f90 Mon Sep 17 00:00:00 2001 From: Steve Fryatt Date: Sun, 9 Oct 2011 13:32:43 +0000 Subject: Add support for external hotlist utilities. svn path=/trunk/netsurf/; revision=13022 --- riscos/hotlist.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'riscos/hotlist.h') diff --git a/riscos/hotlist.h b/riscos/hotlist.h index e47c140a1..55f8d648c 100644 --- a/riscos/hotlist.h +++ b/riscos/hotlist.h @@ -24,6 +24,16 @@ #ifndef _NETSURF_RISCOS_HOTLIST_H_ #define _NETSURF_RISCOS_HOTLIST_H_ +/* Hotlist Protocol Messages, which are currently not in OSLib. */ + +#ifndef message_HOTLIST_ADD_URL +#define message_HOTLIST_ADD_URL 0x4af81 +#endif + +#ifndef message_HOTLIST_CHANGED +#define message_HOTLIST_CHANGED 0x4af82 +#endif + #include "riscos/menus.h" void ro_gui_hotlist_preinitialise(void); @@ -32,6 +42,8 @@ void ro_gui_hotlist_open(void); void ro_gui_hotlist_save(void); bool ro_gui_hotlist_check_window(wimp_w window); bool ro_gui_hotlist_check_menu(wimp_menu *menu); +void ro_gui_hotlist_add_page(const char *url); +void ro_gui_hotlist_add_cleanup(void); #endif -- cgit v1.2.3