diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-10 21:59:03 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-10 21:59:03 +0100 |
commit | 6ac65a367462367addea548be8bd0051980feead (patch) | |
tree | e917ed7d9b6360c49f2bb584ee6159118e6d8842 /frontends/amiga/gui.h | |
parent | 24b910f4ff72b24a871c7d66f9e5f5992625c975 (diff) | |
download | netsurf-6ac65a367462367addea548be8bd0051980feead.tar.gz netsurf-6ac65a367462367addea548be8bd0051980feead.tar.bz2 |
Hide the message port which is shared amongst all Amiga NetSurf windows
Diffstat (limited to 'frontends/amiga/gui.h')
-rw-r--r-- | frontends/amiga/gui.h | 10 |
1 files changed, 8 insertions, 2 deletions
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() */ @@ -141,6 +139,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. * * @return App ID. @@ -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); |