From f2cdca7bccfcdfa04639600689b2b13b38b56898 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 3 Mar 2019 22:55:18 +0100 Subject: Cleanup: move declaration of get_stylesheet() to qthelper.h The function is defined in qthelper.c and thus not all users of dive.h have to suck in the xslt headers. Signed-off-by: Berthold Stoeger --- core/qthelper.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/qthelper.h') diff --git a/core/qthelper.h b/core/qthelper.h index 3b7ff2c59..2a91df9ef 100644 --- a/core/qthelper.h +++ b/core/qthelper.h @@ -3,6 +3,8 @@ #define QTHELPER_H #include +#include +#include #include "dive.h" #include "divelist.h" @@ -161,6 +163,7 @@ void cache_insert(int tissue, int timestep, enum inertgas gas, double value); void print_qt_versions(); void lock_planner(); void unlock_planner(); +xsltStylesheetPtr get_stylesheet(const char *name); #ifdef __cplusplus } -- cgit v1.2.3-70-g09d2