summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/mime/mailcrypto.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-26 11:01:42 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-26 11:01:42 +0200
commite19a82c82594e3544ff5e4e82715095cf1a28c2f (patch)
tree3d30b93ae03ec047bc27a89fe31588ba559388ee /framework/src/domain/mime/mailcrypto.h
parenta29eae612c79d23c9916345d76b6753aab8f7e16 (diff)
downloadkube-e19a82c82594e3544ff5e4e82715095cf1a28c2f.tar.gz
kube-e19a82c82594e3544ff5e4e82715095cf1a28c2f.zip
Collect gpgme usages
Diffstat (limited to 'framework/src/domain/mime/mailcrypto.h')
-rw-r--r--framework/src/domain/mime/mailcrypto.h8
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
40void importKeys(const std::vector<GpgME::Key> &keys); 40void importKeys(const std::vector<GpgME::Key> &keys);
41 41
42struct ImportResult {
43 int considered;
44 int imported;
45 int unchanged;
46};
47
48ImportResult importKey(const QByteArray &key);
49
42}; // namespace MailCrypto 50}; // namespace MailCrypto