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