summaryrefslogtreecommitdiff
path: root/ui/SmallDialogs.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 16:55:14 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 16:55:14 +0200
commit222024f07e505617aec93dc4837be2be27d18856 (patch)
treec40f400baa6cf1d047205359f80c2b8f74a2b507 /ui/SmallDialogs.h
parent1.12 (diff)
downloadFreeFileSync-222024f07e505617aec93dc4837be2be27d18856.tar.gz
FreeFileSync-222024f07e505617aec93dc4837be2be27d18856.tar.bz2
FreeFileSync-222024f07e505617aec93dc4837be2be27d18856.zip
1.13
Diffstat (limited to 'ui/SmallDialogs.h')
-rw-r--r--ui/SmallDialogs.h38
1 files changed, 34 insertions, 4 deletions
diff --git a/ui/SmallDialogs.h b/ui/SmallDialogs.h
index 7efb4dbe..c75a1b9a 100644
--- a/ui/SmallDialogs.h
+++ b/ui/SmallDialogs.h
@@ -74,23 +74,48 @@ private:
class ErrorDlg : public ErrorDlgGenerated
{
public:
- ErrorDlg(const wxString messageText, bool& continueError);
+ ErrorDlg(wxWindow* parentWindow, const wxString messageText, bool& ignoreNextErrors, int dummy);
~ErrorDlg();
enum
{
- BUTTON_CONTINUE,
+ BUTTON_IGNORE,
BUTTON_RETRY,
BUTTON_ABORT
};
private:
void OnClose(wxCloseEvent& event);
- void OnContinue(wxCommandEvent& event);
+ void OnIgnore(wxCommandEvent& event);
void OnRetry(wxCommandEvent& event);
void OnAbort(wxCommandEvent& event);
- bool& continueOnError;
+ bool& ignoreErrors;
+};
+
+
+class WarningDlg : public WarningDlgGenerated
+{
+public:
+ WarningDlg(wxWindow* parentWindow, int activeButtons, const wxString messageText, bool& dontShowAgain);
+ ~WarningDlg();
+
+ enum
+ {
+ BUTTON_IGNORE = 1,
+ BUTTON_RESOLVE = 2,
+ BUTTON_ABORT = 4,
+ BUTTON_OKAY = 8
+ };
+
+private:
+ void OnClose(wxCloseEvent& event);
+ void OnIgnore(wxCommandEvent& event);
+ void OnResolve(wxCommandEvent& event);
+ void OnAbort(wxCommandEvent& event);
+ void OnOkay(wxCommandEvent& event);
+
+ bool& dontShowAgain;
};
@@ -100,6 +125,11 @@ public:
ModifyFilesDlg(wxWindow* window, const wxString& parentDirectory, const int timeShift);
~ModifyFilesDlg();
+ enum
+ {
+ BUTTON_APPLY = 10
+ };
+
private:
void OnApply(wxCommandEvent& event);
void OnCancel(wxCommandEvent& event);
bgstack15