NetSurf
search.h
Go to the documentation of this file.
1/*
2 * Copyright 2013 Ole Loots <ole@monochrom.net>
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#ifndef NS_ATARI_SEARCH_H
21#define NS_ATARI_SEARCH_H
22
23#define SEARCH_MAX_SLEN 24
24
25struct gui_window;
26struct browser_window;
27
28#include "desktop/search.h"
29
31 char text[32];
32 uint32_t flags;
34};
35
37 struct gui_window *g;
39};
40
42
44 struct gui_window *gw);
45
47
49void nsatari_search_perform(struct s_search_form_session *s, OBJECT *obj,
51void nsatari_search_restore_form( struct s_search_form_session *s, OBJECT *obj);
52
53#endif
Browseing window text search interface.
search_flags_t
Definition: search.h:29
void nsatari_search_perform(struct s_search_form_session *s, OBJECT *obj, search_flags_t f)
Definition: search.c:262
struct s_search_form_session * SEARCH_FORM_SESSION
Definition: search.h:41
struct s_search_form_session * nsatari_search_session_create(OBJECT *obj, struct gui_window *gw)
Definition: search.c:286
struct gui_search_table * atari_search_table
Definition: search.c:59
void nsatari_search_session_destroy(struct s_search_form_session *s)
Definition: search.c:224
void nsatari_search_restore_form(struct s_search_form_session *s, OBJECT *obj)
Definition: search.c:199
Browser window data.
function table for page text search.
Definition: search.h:31
first entry in window list
Definition: gui.c:297
struct gui_window * g
Definition: search.h:37
struct s_search_form_state state
Definition: search.h:38
uint32_t flags
Definition: search.h:32
char text[32]
Definition: search.h:31