From 0178f0c7e78d8e61e5794f33e519a87c56039c06 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 15 Feb 2020 11:44:14 -0800 Subject: 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 --- backend-shared/exportfuncs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'backend-shared') 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 getDiveSitesToExport(bool selectedOnly) { -- cgit v1.2.3-70-g09d2