From 02bbaa3e8855cc632dfca42a8bf06a59a3cecf2a Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 13 Oct 2014 15:08:16 +0100 Subject: split version info into its own header and remove unnecessary nesurf.h includes The netsurf.h header should *only* contain the registration, core initialisation and finalisation methods. Version information is best placed in its own header. Also remove any unneeded inclusion of this header limiting it to solely the places the relevant API is required. --- beos/about.cpp | 2 +- beos/fetch_rsrc.cpp | 1 - beos/scaffolding.cpp | 1 + beos/window.cpp | 1 - 4 files changed, 2 insertions(+), 3 deletions(-) (limited to 'beos') diff --git a/beos/about.cpp b/beos/about.cpp index 2483a22c1..bfa9908c7 100644 --- a/beos/about.cpp +++ b/beos/about.cpp @@ -21,7 +21,7 @@ #include #include extern "C" { -#include "desktop/netsurf.h" +#include "desktop/version.h" #include "utils/log.h" #include "testament.h" #include "utils/useragent.h" diff --git a/beos/fetch_rsrc.cpp b/beos/fetch_rsrc.cpp index f2224d1ba..67d0f3555 100644 --- a/beos/fetch_rsrc.cpp +++ b/beos/fetch_rsrc.cpp @@ -35,7 +35,6 @@ extern "C" { #include "content/fetch.h" #include "content/fetchers.h" #include "content/urldb.h" -#include "desktop/netsurf.h" #include "utils/nsoption.h" #include "utils/log.h" #include "utils/messages.h" diff --git a/beos/scaffolding.cpp b/beos/scaffolding.cpp index b701b98f0..4881e8a41 100644 --- a/beos/scaffolding.cpp +++ b/beos/scaffolding.cpp @@ -56,6 +56,7 @@ extern "C" { #include "desktop/browser_private.h" #include "desktop/gui.h" #include "desktop/netsurf.h" +#include "desktop/version.h" #include "desktop/plotters.h" #include "utils/nsoption.h" #include "desktop/textinput.h" diff --git a/beos/window.cpp b/beos/window.cpp index 886e20622..a8c7e8600 100644 --- a/beos/window.cpp +++ b/beos/window.cpp @@ -27,7 +27,6 @@ extern "C" { #include "desktop/browser_private.h" #include "desktop/mouse.h" #include "utils/nsoption.h" -#include "desktop/netsurf.h" #include "desktop/textinput.h" #include "desktop/font.h" #include "utils/log.h" -- cgit v1.2.3