NetSurf
local_history.h
Go to the documentation of this file.
1/*
2 * Copyright 2017 Vincent Sanders <vince@kyllikki.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 * Interface to GTK local history manager
22 */
23
24#ifndef NSGTK_LOCAL_HISTORY_H
25#define NSGTK_LOCAL_HISTORY_H
26
27struct browser_window;
28
29/**
30 * make the local history window visible.
31 *
32 * \return NSERROR_OK on success else appropriate error code on faliure.
33 */
35
36/**
37 * set the local history window position.
38 */
40
41/**
42 * hide the local history window from being visible.
43 *
44 * \return NSERROR_OK on success else appropriate error code on faliure.
45 */
47
48/**
49 * Destroys the local history window and performs any other necessary cleanup
50 * actions.
51 */
53
54#endif
wimp_w parent
Definition: dialog.c:88
nserror
Enumeration of error codes.
Definition: errors.h:29
nserror nsgtk_local_history_hide(void)
hide the local history window from being visible.
void nsgtk_local_history_set_position(int x, int y)
set the local history window position.
nserror nsgtk_local_history_present(GtkWindow *parent, struct browser_window *bw)
make the local history window visible.
nserror nsgtk_local_history_destroy(void)
Destroys the local history window and performs any other necessary cleanup actions.
Browser window data.
int x
Window dimensions.
struct browser_window * bw