aboutsummaryrefslogtreecommitdiffstats
path: root/src/m_pinentry/GpgPassphraseContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/m_pinentry/GpgPassphraseContext.cpp')
-rw-r--r--src/m_pinentry/GpgPassphraseContext.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/m_pinentry/GpgPassphraseContext.cpp b/src/m_pinentry/GpgPassphraseContext.cpp
index 4e21a20..61add57 100644
--- a/src/m_pinentry/GpgPassphraseContext.cpp
+++ b/src/m_pinentry/GpgPassphraseContext.cpp
@@ -54,4 +54,8 @@ auto GpgPassphraseContext::GetPassphraseInfo() const -> QString {
auto GpgPassphraseContext::IsPreWasBad() const -> bool { return prev_was_bad_; }
-auto GpgPassphraseContext::IsAskForNew() const -> bool { return ask_for_new_; } \ No newline at end of file
+auto GpgPassphraseContext::IsAskForNew() const -> bool { return ask_for_new_; }
+
+auto GpgPassphraseContext::IsSuccess() const -> bool { return success_; }
+
+void GpgPassphraseContext::SetSuccess(bool success) { success_ = success; } \ No newline at end of file