From ab7f3e31800ade0cec9c071e61cc001ee9470f69 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 16 Oct 2014 09:41:50 +0100 Subject: Split up graphical user interface operations table headers This is the initial part of a series which splits up the API interface definitions for the frontends removing a great deal of unnecessary file inclusion and further isolates the fronted API usage from the core --- desktop/netsurf.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'desktop/netsurf.h') diff --git a/desktop/netsurf.h b/desktop/netsurf.h index 45a445747..3ce8f3bab 100644 --- a/desktop/netsurf.h +++ b/desktop/netsurf.h @@ -16,18 +16,24 @@ * along with this program. If not, see . */ +/** + * \file + * + * NetSurf core interface registration, construction and destruction. + */ + #ifndef _NETSURF_DESKTOP_NETSURF_H_ #define _NETSURF_DESKTOP_NETSURF_H_ #include "utils/errors.h" - -struct netsurf_table; +#include "desktop/gui_table.h" /** * Register operation table. * * @param table NetSurf operations table. - * @return NSERROR_OK on success or error code on faliure. + * @return NSERROR_OK on success or error code on faliure. On faliure + * global table will not be initialised. */ nserror netsurf_register(struct netsurf_table *table); -- cgit v1.2.3