diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-02-15 11:44:14 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-02-17 10:50:51 -0800 |
commit | 0178f0c7e78d8e61e5794f33e519a87c56039c06 (patch) | |
tree | b038f425803b76431778a712346a61c279e78fb6 /backend-shared/exportfuncs.cpp | |
parent | b8c02c9b030da70f5abdd143fcde4a1bf8435a94 (diff) | |
download | subsurface-0178f0c7e78d8e61e5794f33e519a87c56039c06.tar.gz |
mobile/export: remove most of the export options
A tablet or phone is not a computer. What would you do with a CSV or TeX/LaTeX
file on a phone. Yeah, I get it, feature parity.
This should never have been merged.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'backend-shared/exportfuncs.cpp')
-rw-r--r-- | backend-shared/exportfuncs.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backend-shared/exportfuncs.cpp b/backend-shared/exportfuncs.cpp index a48f60066..2a23e3b97 100644 --- a/backend-shared/exportfuncs.cpp +++ b/backend-shared/exportfuncs.cpp @@ -12,6 +12,7 @@ #include "core/divesite.h" #include "exportfuncs.h" +#if !defined(SUBSURFACE_MOBILE) void exportProfile(QString filename, bool selected_only) { struct dive *dive; @@ -32,7 +33,6 @@ void exportProfile(QString filename, bool selected_only) } } - void export_TeX(const char *filename, bool selected_only, bool plain) { FILE *f; @@ -269,6 +269,7 @@ void export_depths(const char *filename, bool selected_only) } free_buffer(&buf); } +#endif /* ! SUBSURFACE_MOBILE */ std::vector<const dive_site *> getDiveSitesToExport(bool selectedOnly) { |