summaryrefslogtreecommitdiffstats
path: root/core/exportfuncs.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-14 21:56:31 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-24 08:44:23 +0900
commit9c52aaf043753dbb594c7420f776c836215dd6d2 (patch)
tree86c181dd37d79e00d023a755caa1841ab03339bf /core/exportfuncs.h
parent7181b7bcd1d63f4d0ba705a4688bc43ec0b27d8a (diff)
downloadsubsurface-9c52aaf043753dbb594c7420f776c836215dd6d2.tar.gz
build-system: move exportfuncs to backend-shared
WARNING: multi directory commit, needed to secure it builds. move the core/exportfuncs.* to backend-shared. update backend-shared/CMakeLists.txt to generate backend-shared lib update CMakeLists.txt to include backend-shared lib in link process. update ios project to reflect new directory Signed-off-by: Jan Iversen <jan@casacondor.com>
Diffstat (limited to 'core/exportfuncs.h')
-rw-r--r--core/exportfuncs.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/core/exportfuncs.h b/core/exportfuncs.h
deleted file mode 100644
index a378e152d..000000000
--- a/core/exportfuncs.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-#ifndef EXPORTFUNCS_H
-#define EXPORTFUNCS_H
-
-#include <QObject>
-#include <QFuture>
-#include "core/dive.h"
-
-class exportFuncs: public QObject {
- Q_OBJECT
-
-public:
- static exportFuncs *instance();
-
- void exportProfile(QString filename, const bool selected_only);
- void export_TeX(const char *filename, const bool selected_only, bool plain);
- void export_depths(const char *filename, const bool selected_only);
- std::vector<const dive_site *> getDiveSitesToExport(bool selectedOnly);
- void exportUsingStyleSheet(QString filename, bool doExport, int units,
- QString stylesheet, bool anonymize);
- QFuture<int> future;
-
- // prepareDivesForUploadDiveLog
- // prepareDivesForUploadDiveShare
-
-private:
- exportFuncs() {}
-
- // WARNING
- // saveProfile uses the UI and are therefore different between
- // Desktop (UI) and Mobile (QML)
- // In order to solve this difference, the actual implementations
- // are done in
- // desktop-widgets/divelogexportdialog.cpp and
- // mobile-widgets/qmlmanager.cpp
- void saveProfile(const struct dive *dive, const QString filename);
-};
-
-#endif // EXPORT_FUNCS_H