1 /*
2  * Copyright 2017 Vincent Sanders <vince@netsurf-browser.org>
3  *
4  * This file is part of NetSurf, http://www.netsurf-browser.org/
5  *
6  * NetSurf is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; version 2 of the License.
9  *
10  * NetSurf is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 /**
20  * \file
21  * RISC OS local history interface.
22  */
23 
24 #ifndef RISCOS_LOCALHISTORY_H
25 #define RISCOS_LOCALHISTORY_H
26 
27 /**
28  * initialise the local history window template ready for subsequent use.
29  */
30 void ro_gui_local_history_initialise(void);
31 
32 /**
33  * make the local history window visible.
34  *
35  * \return NSERROR_OK on success else appropriate error code on faliure.
36  */
37 nserror ro_gui_local_history_present(wimp_w parent, struct browser_window *bw);
38 
39 /**
40  * Free any resources allocated for the local history window.
41  *
42  * \return NSERROR_OK on success else appropriate error code on faliure.
43  */
44 nserror ro_gui_local_history_finalise(void);
45 
46 #endif
47