summaryrefslogtreecommitdiff
path: root/ui/small_dlgs.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:11:56 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:11:56 +0200
commit98ecf620f7de377dc8ae9ad7fbd1e3b24477e138 (patch)
treefaadc6d8822c20cd3bc6f50b2a98e6c580585949 /ui/small_dlgs.h
parent3.16 (diff)
downloadFreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.tar.gz
FreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.tar.bz2
FreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.zip
3.17
Diffstat (limited to 'ui/small_dlgs.h')
-rw-r--r--ui/small_dlgs.h29
1 files changed, 13 insertions, 16 deletions
diff --git a/ui/small_dlgs.h b/ui/small_dlgs.h
index d4fce824..06fb9964 100644
--- a/ui/small_dlgs.h
+++ b/ui/small_dlgs.h
@@ -9,48 +9,45 @@
#include "../file_hierarchy.h"
#include "../library/process_xml.h"
+#include "../synchronization.h"
-namespace ffs3
+namespace zen
{
-class SyncStatistics;
-
-
-struct DefaultReturnCode
+struct ReturnSmallDlg
{
- enum Response
+ enum ButtonPressed
{
- BUTTON_OKAY,
- BUTTON_CANCEL
+ BUTTON_CANCEL,
+ BUTTON_OKAY = 1
};
};
+
void showAboutDialog();
void showHelpDialog();
-DefaultReturnCode::Response showFilterDialog(bool isGlobalFilter,
- Zstring& filterIncl,
- Zstring& filterExcl);
+ReturnSmallDlg::ButtonPressed showFilterDialog(bool isGlobalFilter, FilterConfig& filter);
-DefaultReturnCode::Response showDeleteDialog(
+ReturnSmallDlg::ButtonPressed showDeleteDialog(
const std::vector<FileSystemObject*>& rowsOnLeft,
const std::vector<FileSystemObject*>& rowsOnRight,
bool& deleteOnBothSides,
bool& useRecycleBin);
-DefaultReturnCode::Response showCustomizeColsDlg(xmlAccess::ColumnAttributes& attr);
+ReturnSmallDlg::ButtonPressed showCustomizeColsDlg(xmlAccess::ColumnAttributes& attr);
-DefaultReturnCode::Response showSyncPreviewDlg(
+ReturnSmallDlg::ButtonPressed showSyncPreviewDlg(
const wxString& variantName,
const SyncStatistics& statistics,
bool& dontShowAgain);
-DefaultReturnCode::Response showCompareCfgDialog(
+ReturnSmallDlg::ButtonPressed showCompareCfgDialog(
const wxPoint& position,
CompareVariant& cmpVar,
SymLinkHandling& handleSymlinks);
-DefaultReturnCode::Response showGlobalSettingsDlg(xmlAccess::XmlGlobalSettings& globalSettings);
+ReturnSmallDlg::ButtonPressed showGlobalSettingsDlg(xmlAccess::XmlGlobalSettings& globalSettings);
}
#endif // SMALLDIALOGS_H_INCLUDED
bgstack15