2005-02-07 17:28:43 +03:00
|
|
|
/*
|
|
|
|
* Copyright 2005 Richard Wilson <info@tinct.net>
|
2010-10-05 23:14:46 +04:00
|
|
|
* Copyright 2010 Stephen Fryatt <stevef@netsurf-browser.org>
|
2007-08-08 20:16:03 +04:00
|
|
|
*
|
|
|
|
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
|
|
|
*
|
|
|
|
* NetSurf is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
|
|
|
*
|
|
|
|
* NetSurf is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2005-02-07 17:28:43 +03:00
|
|
|
*/
|
|
|
|
|
2016-12-27 14:45:18 +03:00
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* RISc OS global history interface.
|
2005-02-07 17:28:43 +03:00
|
|
|
*/
|
|
|
|
|
2016-12-27 14:45:18 +03:00
|
|
|
#ifndef RISCOS_GLOBALHISTORY_H
|
|
|
|
#define RISCOS_GLOBALHISTORY_H
|
2005-02-07 17:28:43 +03:00
|
|
|
|
2016-12-27 14:45:18 +03:00
|
|
|
/**
|
|
|
|
* 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);
|
2010-10-25 03:17:21 +04:00
|
|
|
|
2016-12-27 14:45:18 +03:00
|
|
|
/**
|
|
|
|
* check if window handle is for the global history window
|
|
|
|
*/
|
2010-10-05 23:14:46 +04:00
|
|
|
bool ro_gui_global_history_check_window(wimp_w window);
|
2016-12-27 14:45:18 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* check if menu handle is for the global history menu
|
|
|
|
*/
|
2010-10-05 23:14:46 +04:00
|
|
|
bool ro_gui_global_history_check_menu(wimp_menu *menu);
|
2010-10-25 03:17:21 +04:00
|
|
|
|
2005-02-07 17:28:43 +03:00
|
|
|
#endif
|
2010-10-05 23:14:46 +04:00
|
|
|
|