summaryrefslogtreecommitdiffstats
path: root/core/qthelper.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-03-03 22:55:18 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commitf2cdca7bccfcdfa04639600689b2b13b38b56898 (patch)
tree1482089014e746fc6ccbfd7bcd98926bb70cb759 /core/qthelper.h
parent25234c0513cab19abafb6d73613df35da7bc5663 (diff)
downloadsubsurface-f2cdca7bccfcdfa04639600689b2b13b38b56898.tar.gz
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/qthelper.h')
-rw-r--r--core/qthelper.h3
1 files changed, 3 insertions, 0 deletions
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 <stdint.h>
+#include <libxslt/transform.h>
+#include <libxslt/xsltutils.h>
#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
}