// ************************************************************************** // * 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) 2008-2010 ZenJu (zhnmju123 AT gmx.de) * // ************************************************************************** // #ifndef SMALLDIALOGS_H_INCLUDED #define SMALLDIALOGS_H_INCLUDED #include "../fileHierarchy.h" #include "../library/processXml.h" namespace FreeFileSync { class SyncStatistics; struct DefaultReturnCode { enum Response { BUTTON_OKAY, BUTTON_CANCEL }; }; void showAboutDialog(); void showHelpDialog(); DefaultReturnCode::Response showFilterDialog(bool isGlobalFilter, Zstring& filterIncl, Zstring& filterExcl, bool filterActive); DefaultReturnCode::Response showDeleteDialog( const std::vector& rowsOnLeft, const std::vector& rowsOnRight, bool& deleteOnBothSides, bool& useRecycleBin, int& totalDeleteCount); DefaultReturnCode::Response showCustomizeColsDlg(xmlAccess::ColumnAttributes& attr); DefaultReturnCode::Response showSyncPreviewDlg( const wxString& variantName, const SyncStatistics& statistics, bool& dontShowAgain); DefaultReturnCode::Response showCompareCfgDialog(const wxPoint& position, CompareVariant& cmpVar); DefaultReturnCode::Response showGlobalSettingsDlg(xmlAccess::XmlGlobalSettings& globalSettings); } #endif // SMALLDIALOGS_H_INCLUDED