// ************************************************************************** // * 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 //#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, FilterConfig& filter, const wxString& caption); ReturnSmallDlg::ButtonPressed showDeleteDialog(wxWindow* parent, const std::vector& rowsOnLeft, const std::vector& rowsOnRight, bool& deleteOnBothSides, bool& useRecycleBin); ReturnSmallDlg::ButtonPressed showSyncConfirmationDlg(wxWindow* parent, const wxString& variantName, const SyncStatistics& statistics, bool& dontShowAgain); ReturnSmallDlg::ButtonPressed showCompareCfgDialog(wxWindow* parent, CompConfig& cmpConfig, const wxString& title); ReturnSmallDlg::ButtonPressed showGlobalSettingsDlg(wxWindow* parent, xmlAccess::XmlGlobalSettings& globalSettings); ReturnSmallDlg::ButtonPressed showSelectTimespanDlg(wxWindow* parent, Int64& timeFrom, Int64& timeTo); } #endif // SMALLDIALOGS_H_INCLUDED