aboutsummaryrefslogtreecommitdiffstats
path: root/include/gpg/result_analyse/DecryptResultAnalyse.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpg/result_analyse/DecryptResultAnalyse.h')
-rw-r--r--include/gpg/result_analyse/DecryptResultAnalyse.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/gpg/result_analyse/DecryptResultAnalyse.h b/include/gpg/result_analyse/DecryptResultAnalyse.h
new file mode 100644
index 00000000..6ec7d3be
--- /dev/null
+++ b/include/gpg/result_analyse/DecryptResultAnalyse.h
@@ -0,0 +1,23 @@
+//
+// Created by eric on 2021/6/9.
+//
+
+#ifndef GPGFRONTEND_DECRYPTRESULTANALYSE_H
+#define GPGFRONTEND_DECRYPTRESULTANALYSE_H
+
+#include "gpg/GpgContext.h"
+#include "ResultAnalyse.h"
+
+class DecryptResultAnalyse: public ResultAnalyse{
+public:
+ explicit DecryptResultAnalyse(GpgME::GpgContext *ctx, gpgme_error_t error, gpgme_decrypt_result_t result);
+
+private:
+
+ GpgME::GpgContext *mCtx;
+
+ bool printReci(QTextStream &stream, gpgme_recipient_t reci);
+};
+
+
+#endif //GPGFRONTEND_DECRYPTRESULTANALYSE_H