GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgDecryptResultAnalyse.h
1 
29 #ifndef GPGFRONTEND_GPGDECRYPTRESULTANALYSE_H
30 #define GPGFRONTEND_GPGDECRYPTRESULTANALYSE_H
31 
32 #include "GpgResultAnalyse.h"
33 #include "core/GpgConstants.h"
34 
35 namespace GpgFrontend {
36 
41 class GPGFRONTEND_CORE_EXPORT GpgDecryptResultAnalyse
42  : public GpgResultAnalyse {
43  public:
50  explicit GpgDecryptResultAnalyse(GpgError m_error, GpgDecrResult m_result);
51 
52  protected:
57  void do_analyse() final;
58 
59  private:
66  void print_recipient(std::stringstream &stream, gpgme_recipient_t recipient);
67 
68  GpgError error_;
69  GpgDecrResult result_;
70 };
71 
72 } // namespace GpgFrontend
73 
74 #endif // GPGFRONTEND_GPGDECRYPTRESULTANALYSE_H
Definition: GpgDecryptResultAnalyse.h:42
Definition: GpgResultAnalyse.h:37
Definition: CoreCommonUtil.cpp:29