From 6ac65a367462367addea548be8bd0051980feead Mon Sep 17 00:00:00 2001 From: Chris Young Date: Fri, 10 May 2019 21:59:03 +0100 Subject: Hide the message port which is shared amongst all Amiga NetSurf windows --- frontends/amiga/gui.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'frontends/amiga/gui.h') diff --git a/frontends/amiga/gui.h b/frontends/amiga/gui.h index 1376495c7..70f1c505e 100644 --- a/frontends/amiga/gui.h +++ b/frontends/amiga/gui.h @@ -75,8 +75,6 @@ struct ami_generic_window { const struct ami_win_event_table *tbl; }; -extern struct MsgPort *sport; - #define IS_CURRENT_GW(GWIN,GW) (ami_gui2_get_gui_window(GWIN) == GW) /* The return value for these functions must be deallocated using FreeVec() */ @@ -140,6 +138,13 @@ nserror ami_gui_get_space_box(Object *obj, struct IBox **bbox); */ void ami_gui_free_space_box(struct IBox *bbox); +/** + * Get shared message port + * + * @return Pointer to an initialised MsgPort + */ +struct MsgPort *ami_gui_get_shared_msgport(void); + /** * Get the application.library ID NetSurf is registered as. * @@ -354,6 +359,7 @@ void ami_gui2_set_closed(struct gui_window_2 *gwin, bool closed); /** * Set new_content in gui_window_2 + * Indicates the window needs redrawing */ void ami_gui2_set_new_content(struct gui_window_2 *gwin, bool new_content); -- cgit v1.2.3