summaryrefslogtreecommitdiff
path: root/riscos/hotlist.h
diff options
context:
space:
mode:
authorSteve Fryatt <steve@stevefryatt.org.uk>2011-10-09 13:32:43 +0000
committerSteve Fryatt <steve@stevefryatt.org.uk>2011-10-09 13:32:43 +0000
commit17cf5fab71df242d839222abbd59d4b728dc8f90 (patch)
treebfb56ac05b0a0b3cd7d41c600d501dca0011125a /riscos/hotlist.h
parentd21bdf16fca2821bf8dbcc903cbd23014c12c55f (diff)
downloadnetsurf-17cf5fab71df242d839222abbd59d4b728dc8f90.tar.gz
netsurf-17cf5fab71df242d839222abbd59d4b728dc8f90.tar.bz2
Add support for external hotlist utilities.
svn path=/trunk/netsurf/; revision=13022
Diffstat (limited to 'riscos/hotlist.h')
-rw-r--r--riscos/hotlist.h12
1 files changed, 12 insertions, 0 deletions
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