summaryrefslogtreecommitdiff
path: root/frontends/riscos/global_history.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-12-27 11:45:18 +0000
committerVincent Sanders <vince@kyllikki.org>2016-12-28 15:26:02 +0000
commit72d3bec792c614783d6333267852675f14f7bf94 (patch)
treef1c71b902116584850d43b28232d769d864f5ecb /frontends/riscos/global_history.h
parentaf3a78060fc18d1544b0d411d2d7584fcac9f3df (diff)
downloadnetsurf-72d3bec792c614783d6333267852675f14f7bf94.tar.gz
netsurf-72d3bec792c614783d6333267852675f14f7bf94.tar.bz2
Update RISC OS global history to use core window interface
Diffstat (limited to 'frontends/riscos/global_history.h')
-rw-r--r--frontends/riscos/global_history.h40
1 files changed, 30 insertions, 10 deletions
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 <http://www.gnu.org/licenses/>.
*/
-/** \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