diff options
Diffstat (limited to 'framework/src/domain/mime/mailcrypto.h')
-rw-r--r-- | framework/src/domain/mime/mailcrypto.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/framework/src/domain/mime/mailcrypto.h b/framework/src/domain/mime/mailcrypto.h index 832f68ec..9e317b43 100644 --- a/framework/src/domain/mime/mailcrypto.h +++ b/framework/src/domain/mime/mailcrypto.h | |||
@@ -39,4 +39,12 @@ std::vector<GpgME::Key> findKeys(const QStringList &filter, bool findPrivate = f | |||
39 | 39 | ||
40 | void importKeys(const std::vector<GpgME::Key> &keys); | 40 | void importKeys(const std::vector<GpgME::Key> &keys); |
41 | 41 | ||
42 | struct ImportResult { | ||
43 | int considered; | ||
44 | int imported; | ||
45 | int unchanged; | ||
46 | }; | ||
47 | |||
48 | ImportResult importKey(const QByteArray &key); | ||
49 | |||
42 | }; // namespace MailCrypto | 50 | }; // namespace MailCrypto |