GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgEncryptResult.h
1 
29 #pragma once
30 
31 #include "core/typedef/GpgTypedef.h"
32 
33 namespace GpgFrontend {
34 
35 class GPGFRONTEND_CORE_EXPORT GpgEncryptResult {
36  public:
37  auto IsGood() -> bool;
38 
39  auto GetRaw() -> gpgme_encrypt_result_t;
40 
41  auto InvalidRecipients() -> std::vector<std::tuple<QString, GpgError>>;
42 
43  explicit GpgEncryptResult(gpgme_encrypt_result_t);
44 
46 
47  virtual ~GpgEncryptResult();
48 
49  private:
50  std::shared_ptr<struct _gpgme_op_encrypt_result> result_ref_ = nullptr;
51 };
52 
53 } // namespace GpgFrontend
Definition: GpgEncryptResult.h:35
Definition: app.cpp:39