GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgDecryptResultAnalyse.h
1 
29 #pragma once
30 
31 #include "GpgResultAnalyse.h"
32 #include "core/model/GpgDecryptResult.h"
33 
34 namespace GpgFrontend {
35 
40 class GPGFRONTEND_CORE_EXPORT GpgDecryptResultAnalyse
41  : public GpgResultAnalyse {
42  Q_OBJECT
43  public:
50  explicit GpgDecryptResultAnalyse(GpgError m_error, GpgDecryptResult m_result);
51 
52  protected:
57  void doAnalyse() final;
58 
59  private:
66  void print_recipient(QTextStream &stream, gpgme_recipient_t recipient);
67 
68  GpgError error_;
69  GpgDecryptResult result_;
70 };
71 
72 } // namespace GpgFrontend
Definition: GpgDecryptResultAnalyse.h:41
Definition: GpgDecryptResult.h:36
Definition: GpgResultAnalyse.h:36
Definition: app.cpp:39
gpgme_error_t GpgError
gpgme error
Definition: GpgTypedef.h:42