summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-11-06 14:19:15 +0000
committerVincent Sanders <vince@kyllikki.org>2014-11-06 14:19:15 +0000
commit46f369ca9ee79af5e7a121551fe9715101d27395 (patch)
tree94d0510cad6bd6ff19e3fe9763b5df5ab244bb66 /desktop
parent4cce3e423579a0ef217158719125e62fb6b5fb61 (diff)
downloadnetsurf-46f369ca9ee79af5e7a121551fe9715101d27395.tar.gz
netsurf-46f369ca9ee79af5e7a121551fe9715101d27395.tar.bz2
move themse install to its own header
Diffstat (limited to 'desktop')
-rw-r--r--desktop/browser.c1
-rw-r--r--desktop/browser.h22
-rw-r--r--desktop/theme.h31
3 files changed, 40 insertions, 14 deletions
diff --git a/desktop/browser.c b/desktop/browser.c
index b075bcb15..f7acec491 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -67,6 +67,7 @@
#include "desktop/scrollbar.h"
#include "desktop/selection.h"
#include "desktop/plotters.h"
+#include "desktop/theme.h"
#include "desktop/gui_misc.h"
#include "desktop/gui_window.h"
#include "desktop/gui_internal.h"
diff --git a/desktop/browser.h b/desktop/browser.h
index 8757474fb..c384c7f65 100644
--- a/desktop/browser.h
+++ b/desktop/browser.h
@@ -651,20 +651,6 @@ bool browser_window_is_frameset(struct browser_window *bw);
nserror browser_window_get_scrollbar_type(struct browser_window *bw,
browser_scrolling *h, browser_scrolling *v);
-
-/**
- * Dump debug info concerning the browser window's contents to file
- *
- * \param bw The browser window
- * \param f The file to dump to
- */
-nserror browser_window_debug_dump(struct browser_window *bw, FILE *f, enum content_debug op);
-
-/* In platform specific theme_install.c. */
-#ifdef WITH_THEME_INSTALL
-void theme_install_start(struct hlcache_handle *c);
-#endif
-
/**
* Set the DPI of the browser.
*
@@ -679,4 +665,12 @@ nserror browser_set_dpi(int dpi);
*/
int browser_get_dpi(void);
+/**
+ * Dump debug info concerning the browser window's contents to file
+ *
+ * \param bw The browser window
+ * \param f The file to dump to
+ */
+nserror browser_window_debug_dump(struct browser_window *bw, FILE *f, enum content_debug op);
+
#endif
diff --git a/desktop/theme.h b/desktop/theme.h
new file mode 100644
index 000000000..4eb19ba74
--- /dev/null
+++ b/desktop/theme.h
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2014 Vincent Sanders <vince@nesturf-browser.org>
+ *
+ * This file is part of NetSurf, http://www.netsurf-browser.org/
+ *
+ * NetSurf is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * NetSurf is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/** \file
+ * GUI Themeing interface.
+ */
+
+#ifndef _NETSURF_DESKTOP_THEME_H_
+#define _NETSURF_DESKTOP_THEME_H_
+
+/* In platform specific theme_install.c. */
+
+void theme_install_start(struct hlcache_handle *c);
+
+
+#endif