NetSurf
url_suggest.h
Go to the documentation of this file.
1/*
2 * Copyright 2010 Stephen Fryatt <stevef@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/** \file
20 * URL Suggestion Menu (interface).
21 */
22
23#ifndef _NETSURF_RISCOS_URL_SUGGEST_H_
24#define _NETSURF_RISCOS_URL_SUGGEST_H_
25
26#include "oslib/wimp.h"
27
28#define URL_SUGGEST_MAX_URLS 16
29
30extern wimp_menu *ro_gui_url_suggest_menu;
31
35const char *ro_gui_url_suggest_get_selection(wimp_selection *selection);
36
37#endif
38
const char * ro_gui_url_suggest_get_selection(wimp_selection *selection)
Process a selection from the URL Suggest menu.
Definition: url_suggest.c:230
wimp_menu * ro_gui_url_suggest_menu
bool ro_gui_url_suggest_prepare_menu(void)
Builds the URL suggestion menu.
Definition: url_suggest.c:94
bool ro_gui_url_suggest_init(void)
bool ro_gui_url_suggest_get_menu_available(void)
Check if there is a URL suggestion menu available for use.
Definition: url_suggest.c:81