diff options
| author | saturneric <[email protected]> | 2024-07-31 05:55:59 +0000 |
|---|---|---|
| committer | saturneric <[email protected]> | 2024-07-31 05:55:59 +0000 |
| commit | 2be9cf21aef39a34a807eb29b29eec726ec68f97 (patch) | |
| tree | b1c053696132d4754bff72261061cfb84c4365ab /src/m_pinentry/GpgPassphraseContext.h | |
| parent | feat: update copyright info (diff) | |
| download | Modules-2be9cf21aef39a34a807eb29b29eec726ec68f97.tar.gz Modules-2be9cf21aef39a34a807eb29b29eec726ec68f97.zip | |
fix: addressing some of the issues identified
Diffstat (limited to '')
| -rw-r--r-- | src/m_pinentry/GpgPassphraseContext.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/m_pinentry/GpgPassphraseContext.h b/src/m_pinentry/GpgPassphraseContext.h index 107307b..f021cb8 100644 --- a/src/m_pinentry/GpgPassphraseContext.h +++ b/src/m_pinentry/GpgPassphraseContext.h @@ -42,6 +42,8 @@ class GpgPassphraseContext : public QObject { void SetPassphrase(const QString& passphrase); + void SetSuccess(bool success); + [[nodiscard]] auto GetPassphrase() const -> QString; [[nodiscard]] auto GetUidsInfo() const -> QString; @@ -52,10 +54,13 @@ class GpgPassphraseContext : public QObject { [[nodiscard]] auto IsAskForNew() const -> bool; + [[nodiscard]] auto IsSuccess() const -> bool; + private: QString passphrase_info_; QString uids_info_; QString passphrase_; bool prev_was_bad_; bool ask_for_new_; + bool success_; }; |
