From 72d3bec792c614783d6333267852675f14f7bf94 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 27 Dec 2016 11:45:18 +0000 Subject: Update RISC OS global history to use core window interface --- frontends/riscos/global_history.h | 40 +++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-) (limited to 'frontends/riscos/global_history.h') diff --git a/frontends/riscos/global_history.h b/frontends/riscos/global_history.h index 6f5ba11eb..0d368c3da 100644 --- a/frontends/riscos/global_history.h +++ b/frontends/riscos/global_history.h @@ -17,21 +17,41 @@ * along with this program. If not, see . */ -/** \file - * Global history (interface). +/** + * \file + * RISc OS global history interface. */ -#ifndef _NETSURF_RISCOS_GLOBALHISTORY_H_ -#define _NETSURF_RISCOS_GLOBALHISTORY_H_ +#ifndef RISCOS_GLOBALHISTORY_H +#define RISCOS_GLOBALHISTORY_H -#include "riscos/menus.h" +/** + * initialise the global history window template ready for subsequent use. + */ +void ro_gui_global_history_initialise(void); + +/** + * make the global history window visible. + * + * \return NSERROR_OK on success else appropriate error code on faliure. + */ +nserror ro_gui_global_history_present(void); + +/** + * Free any resources allocated for the global history window. + * + * \return NSERROR_OK on success else appropriate error code on faliure. + */ +nserror ro_gui_global_history_finalise(void); -void ro_gui_global_history_preinitialise(void); -void ro_gui_global_history_postinitialise(void); -void ro_gui_global_history_destroy(void); -void ro_gui_global_history_open(void); -void ro_gui_global_history_save(void); +/** + * check if window handle is for the global history window + */ bool ro_gui_global_history_check_window(wimp_w window); + +/** + * check if menu handle is for the global history menu + */ bool ro_gui_global_history_check_menu(wimp_menu *menu); #endif -- cgit v1.2.3