// ************************************************************************** // * This file is part of the FreeFileSync project. It is distributed under * // * GNU General Public License: http://www.gnu.org/licenses/gpl.html * // * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved * // ************************************************************************** #ifndef SMALLDIALOGS_H_INCLUDED #define SMALLDIALOGS_H_INCLUDED #include "../file_hierarchy.h" #include "../lib/process_xml.h" #include "../synchronization.h" namespace zen { //parent window, optional: support correct dialog placement above parent on multiple monitor systems struct ReturnSmallDlg { enum ButtonPressed { BUTTON_CANCEL, BUTTON_OKAY = 1 }; }; void showAboutDialog(wxWindow* parent); ReturnSmallDlg::ButtonPressed showFilterDialog(wxWindow* parent, bool isGlobalFilter, FilterConfig& filter); ReturnSmallDlg::ButtonPressed showDeleteDialog(wxWindow* parent, const std::vector& rowsOnLeft, const std::vector& rowsOnRight, bool& deleteOnBothSides, bool& useRecycleBin); ReturnSmallDlg::ButtonPressed showSyncPreviewDlg(wxWindow* parent, const wxString& variantName, const SyncStatistics& statistics, bool& dontShowAgain); ReturnSmallDlg::ButtonPressed showCompareCfgDialog(wxWindow* parent, CompConfig& cmpConfig); ReturnSmallDlg::ButtonPressed showGlobalSettingsDlg(wxWindow* parent, xmlAccess::XmlGlobalSettings& globalSettings); ReturnSmallDlg::ButtonPressed showSelectTimespanDlg(wxWindow* parent, Int64& timeFrom, Int64& timeTo); } #endif // SMALLDIALOGS_H_INCLUDED