summaryrefslogtreecommitdiff
path: root/beos
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-10-13 15:08:16 +0100
committerVincent Sanders <vince@kyllikki.org>2014-10-13 15:08:16 +0100
commit02bbaa3e8855cc632dfca42a8bf06a59a3cecf2a (patch)
tree2b6c8dbb2469cb590f1328769def03928eeea2ba /beos
parentfa8d6900051cdbe4d2bc5e4b0b33d6fb2720f5aa (diff)
downloadnetsurf-02bbaa3e8855cc632dfca42a8bf06a59a3cecf2a.tar.gz
netsurf-02bbaa3e8855cc632dfca42a8bf06a59a3cecf2a.tar.bz2
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.
Diffstat (limited to 'beos')
-rw-r--r--beos/about.cpp2
-rw-r--r--beos/fetch_rsrc.cpp1
-rw-r--r--beos/scaffolding.cpp1
-rw-r--r--beos/window.cpp1
4 files changed, 2 insertions, 3 deletions
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 <stdlib.h>
#include <string.h>
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"