mobile: allow sharing files via email

This will allow the user of the mobile app to export dive and dive site
data from their mobile device without using the Subsurface cloud.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2022-08-30 11:53:02 -07:00
parent ead15f622a
commit f144fa0a1b
2 changed files with 58 additions and 1 deletions

View file

@ -74,7 +74,7 @@ public:
Q_INVOKABLE void exportToFile(export_types type, QString directory, bool anonymize);
#endif
Q_INVOKABLE void exportToWEB(export_types type, QString userId, QString password, bool anonymize);
Q_INVOKABLE void shareViaEmail(export_types type, bool anonymize);
QString DC_vendor() const;
void DC_setVendor(const QString& vendor);