mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
iOS: add infrastructure to natively send email
This will allow us to send attachments, just like we do on Android. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0af410d6ce
commit
8164ca56ec
3 changed files with 140 additions and 0 deletions
18
ios/ios-share.h
Normal file
18
ios/ios-share.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#ifndef IOSSHARE_H
|
||||
#define IOSSHARE_H
|
||||
|
||||
// onlt Qt headers and data structures allowed here
|
||||
#include <QString>
|
||||
|
||||
class IosShare {
|
||||
public:
|
||||
IosShare();
|
||||
~IosShare();
|
||||
void supportEmail(const QString &firstPath, const QString &secondPath);
|
||||
void shareViaEmail(const QString &subject, const QString &recipient, const QString &body, const QString &firstPath, const QString &secondPath);
|
||||
private:
|
||||
void *self;
|
||||
};
|
||||
|
||||
#endif /* IOSSHARE_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue