summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-02-06 22:41:36 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-09 12:13:18 -0800
commitee839bf68618fc27f96b04291912c8af09e944b2 (patch)
treea45231e15b0a71277c4e10cf0915ec493e16d8cc
parent2ec570098b61d0ca9685420c82724633928192dc (diff)
downloadsubsurface-ee839bf68618fc27f96b04291912c8af09e944b2.tar.gz
Cleanup: only use necessary includes in exportfuncs.h
Forward declare if possible. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r--backend-shared/exportfuncs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/backend-shared/exportfuncs.h b/backend-shared/exportfuncs.h
index 1b888b19f..ebd2b8fcb 100644
--- a/backend-shared/exportfuncs.h
+++ b/backend-shared/exportfuncs.h
@@ -2,9 +2,10 @@
#ifndef EXPORTFUNCS_H
#define EXPORTFUNCS_H
-#include <QObject>
+#include <QString>
#include <QFuture>
-#include "core/dive.h"
+
+struct dive_site;
void exportProfile(QString filename, const bool selected_only);
void export_TeX(const char *filename, const bool selected_only, bool plain);