diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-06-01 07:59:19 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-06-01 07:59:19 +0100 |
commit | fcde28d97f3863d8be4f6245e20f6471c9bfacb6 (patch) | |
tree | cc0a37a6896571422feb2a273d4dfbbbdefe6488 /frontends/amiga/search.c | |
parent | 148748b82c29160224486af7eed0d62f37031cb6 (diff) | |
download | netsurf-fcde28d97f3863d8be4f6245e20f6471c9bfacb6.tar.gz netsurf-fcde28d97f3863d8be4f6245e20f6471c9bfacb6.tar.bz2 |
reduce core header usage
Diffstat (limited to 'frontends/amiga/search.c')
-rwxr-xr-x | frontends/amiga/search.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/frontends/amiga/search.c b/frontends/amiga/search.c index aaf54b06d..429545e4f 100755 --- a/frontends/amiga/search.c +++ b/frontends/amiga/search.c @@ -55,6 +55,7 @@ #include "netsurf/search.h" #include "amiga/libs.h" +#include "amiga/gui.h" #include "amiga/misc.h" #include "amiga/search.h" #include "amiga/object.h" @@ -66,6 +67,13 @@ static bool search_insert; +struct find_window { + struct nsObject *node; + struct Window *win; + Object *objects[GID_LAST]; + struct gui_window *gwin; +}; + static struct find_window *fwin = NULL; search_flags_t ami_search_flags(void); @@ -86,6 +94,14 @@ static struct gui_search_table search_table = { struct gui_search_table *amiga_search_table = &search_table; +struct gui_window *ami_search_get_gwin(struct find_window *fw) +{ + if (fw != NULL) { + return fw->gwin; + } + return NULL; +} + /** * Change the displayed search status. * |