summaryrefslogtreecommitdiff
path: root/src/wx/recreate_chain_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-04-01 00:31:22 +0100
committerCarl Hetherington <cth@carlh.net>2019-05-10 23:43:42 +0100
commita7ccdd22a980d1b18ecf4477a912bab7510be14a (patch)
tree08be8e24344d819e9b2767114c7efef7a0dea9e0 /src/wx/recreate_chain_dialog.h
parent2e134de1d71debb8465a43703b14a19ffeb4211e (diff)
Complain on startup if signer or decryption chains are inconsistent (#1520).
Diffstat (limited to 'src/wx/recreate_chain_dialog.h')
-rw-r--r--src/wx/recreate_chain_dialog.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wx/recreate_chain_dialog.h b/src/wx/recreate_chain_dialog.h
index 287e65767..10086be86 100644
--- a/src/wx/recreate_chain_dialog.h
+++ b/src/wx/recreate_chain_dialog.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2018 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2018-2019 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -19,14 +19,16 @@
*/
#include "question_dialog.h"
+#include "lib/config.h"
#include <wx/wx.h>
#include <list>
class RecreateChainDialog : public QuestionDialog
{
public:
- RecreateChainDialog (wxWindow* parent);
+ RecreateChainDialog (wxWindow* parent, wxString title, wxString message, wxString cancel, boost::optional<Config::Nag> nag = boost::optional<Config::Nag>());
private:
void shut_up (wxCommandEvent& ev);
+ boost::optional<Config::Nag> _nag;
};