summaryrefslogtreecommitdiff
path: root/desktop/gui_factory.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-10-16 09:48:09 +0100
committerVincent Sanders <vince@kyllikki.org>2014-10-16 22:33:43 +0100
commitd06df231bc7c49e0f46ffc8fc8674d0717dff202 (patch)
treeeb51dc949f5e062c6a9b4adef33adbe591e99518 /desktop/gui_factory.c
parentab7f3e31800ade0cec9c071e61cc001ee9470f69 (diff)
downloadnetsurf-d06df231bc7c49e0f46ffc8fc8674d0717dff202.tar.gz
netsurf-d06df231bc7c49e0f46ffc8fc8674d0717dff202.tar.bz2
Update the core to use the split operations table headers
Second in the series to decouple the core API usage from the frontends.
Diffstat (limited to 'desktop/gui_factory.c')
-rw-r--r--desktop/gui_factory.c19
1 files changed, 14 insertions, 5 deletions
diff --git a/desktop/gui_factory.c b/desktop/gui_factory.c
index b978210e8..c0cf0ffc5 100644
--- a/desktop/gui_factory.c
+++ b/desktop/gui_factory.c
@@ -19,12 +19,21 @@
#include "content/hlcache.h"
#include "content/backing_store.h"
+#include "utils/file.h"
#include "desktop/download.h"
#include "desktop/searchweb.h"
-#include "desktop/gui_factory.h"
-#include "utils/file.h"
+#include "desktop/gui_download.h"
+#include "desktop/gui_fetch.h"
+#include "desktop/gui_misc.h"
+#include "desktop/gui_window.h"
+#include "desktop/gui_search.h"
+#include "desktop/gui_clipboard.h"
+#include "desktop/gui_utf8.h"
+#include "desktop/netsurf.h"
-/** The global interface table */
+/**
+ * The global interface table.
+ */
struct netsurf_table *guit = NULL;
@@ -593,8 +602,8 @@ static nserror verify_browser_register(struct gui_browser_table *gbt)
}
-/* exported interface documented in desktop/gui_factory.h */
-nserror gui_factory_register(struct netsurf_table *gt)
+/* exported interface documented in desktop/netsurf.h */
+nserror netsurf_register(struct netsurf_table *gt)
{
nserror err;