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
GpgFrontend::GpgDecryptResultAnalyse::print_recipient
void print_recipient(std::stringstream &stream, gpgme_recipient_t recipient)
Definition: GpgDecryptResultAnalyse.cpp:75
GpgFrontend
Definition: CoreCommonUtil.cpp:29
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
GpgFrontend::GpgDecryptResultAnalyse::GpgDecryptResultAnalyse
GpgDecryptResultAnalyse(GpgError m_error, GpgDecrResult m_result)
Construct a new Decrypt Result Analyse object.
Definition: GpgDecryptResultAnalyse.cpp:33
GpgFrontend::GpgResultAnalyse
Definition: GpgResultAnalyse.h:37
GpgFrontend::GpgDecryptResultAnalyse
Definition: GpgDecryptResultAnalyse.h:41
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &id)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
GpgFrontend::GpgKey::GetName
std::string GetName() const
Definition: GpgKey.cpp:58