summaryrefslogtreecommitdiff
path: root/ui/msg_popup.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:19:14 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:19:14 +0200
commit01eb8253196672c969a39587e90b49321a182428 (patch)
tree4a3b71d7913de519744466c9227fda6461c4f0b5 /ui/msg_popup.h
parent5.0 (diff)
downloadFreeFileSync-01eb8253196672c969a39587e90b49321a182428.tar.gz
FreeFileSync-01eb8253196672c969a39587e90b49321a182428.tar.bz2
FreeFileSync-01eb8253196672c969a39587e90b49321a182428.zip
5.1
Diffstat (limited to 'ui/msg_popup.h')
-rw-r--r--ui/msg_popup.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/ui/msg_popup.h b/ui/msg_popup.h
index 29606a41..ccdf09e4 100644
--- a/ui/msg_popup.h
+++ b/ui/msg_popup.h
@@ -20,7 +20,7 @@ struct ReturnErrorDlg
BUTTON_ABORT = 4
};
};
-ReturnErrorDlg::ButtonPressed showErrorDlg(int activeButtons, const wxString& messageText, bool* ignoreNextErrors); //ignoreNextErrors may be NULL
+ReturnErrorDlg::ButtonPressed showErrorDlg(int activeButtons, const wxString& messageText, bool* ignoreNextErrors); //ignoreNextErrors may be nullptr
struct ReturnWarningDlg
@@ -44,7 +44,16 @@ struct ReturnQuestionDlg
BUTTON_CANCEL = 4
};
};
-ReturnQuestionDlg::ButtonPressed showQuestionDlg(int activeButtons, const wxString& messageText, bool* dontShowAgain = NULL);
+
+struct CheckBox
+{
+ CheckBox(const wxString& label, bool& value) : label_(label), value_(value) {}
+
+ wxString label_; //in
+ bool& value_; //in/out
+};
+
+ReturnQuestionDlg::ButtonPressed showQuestionDlg(int activeButtons, const wxString& messageText, CheckBox* checkbox = nullptr);
}
bgstack15