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>
This commit is contained in:
Berthold Stoeger 2019-03-03 22:55:18 +01:00 committed by Dirk Hohndel
parent 25234c0513
commit f2cdca7bcc
4 changed files with 5 additions and 4 deletions

View file

@ -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
}