summaryrefslogtreecommitdiff
path: root/ui/main_dlg.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/main_dlg.h
parent3.16 (diff)
downloadFreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.tar.gz
FreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.tar.bz2
FreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.zip
3.17
Diffstat (limited to 'ui/main_dlg.h')
-rw-r--r--ui/main_dlg.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/ui/main_dlg.h b/ui/main_dlg.h
index 9b8d491b..9f12e284 100644
--- a/ui/main_dlg.h
+++ b/ui/main_dlg.h
@@ -14,7 +14,7 @@
#include <map>
#include <set>
#include <wx/aui/aui.h>
-
+#include "../shared/int64.h"
class CustomGrid;
class FFSCheckRowsEvent;
@@ -27,7 +27,7 @@ class SyncStatusHandler;
class PanelMoveWindow;
-namespace ffs3
+namespace zen
{
class CustomLocale;
class GridView;
@@ -46,6 +46,9 @@ public:
~MainDialog();
+ void disableAllElements(bool enableAbort); //dis-/enables all elements (except abort button) that might receive user input during long-running processes: comparison, deletion
+ void enableAllElements(); //
+
private:
friend class CompareStatusHandler;
friend class SyncStatusHandler;
@@ -88,7 +91,7 @@ private:
void addLeftFolderToHistory(const wxString& leftFolder);
void addRightFolderToHistory(const wxString& rightFolder);
- void addFolderPair(const std::vector<ffs3::FolderPairEnh>& newPairs, bool addFront = false);
+ void addFolderPair(const std::vector<zen::FolderPairEnh>& newPairs, bool addFront = false);
void removeAddFolderPair(size_t pos);
void clearAddFolderPairs();
@@ -101,10 +104,10 @@ private:
//context menu functions
std::set<size_t> getSelectedRows(const CustomGrid* grid) const;
std::set<size_t> getSelectedRows() const;
- void setSyncDirManually(const std::set<size_t>& rowsToSetOnUiTable, const ffs3::SyncDirection dir);
+ void setSyncDirManually(const std::set<size_t>& rowsToSetOnUiTable, const zen::SyncDirection dir);
void filterRangeManually(const std::set<size_t>& rowsToFilterOnUiTable, int leadingRow);
void copySelectionToClipboard(CustomGrid& selectedGrid);
- void deleteSelectedFiles();
+ void deleteSelectedFiles(const std::set<size_t>& viewSelectionLeft, const std::set<size_t>& viewSelectionRight);
void openExternalApplication(const wxString& commandline);
void openExternalApplication(size_t rowNumber, bool leftSide, const wxString& commandline);
@@ -116,9 +119,6 @@ private:
void pushStatusInformation(const wxString& text);
void clearStatusBar();
- void disableAllElements(); //dis-/enables all elements (except abort button) that might receive user input during long-running processes: comparison, deletion
- void enableAllElements(); //
-
//events
void onGridLeftButtonEvent( wxKeyEvent& event);
void onGridRightButtonEvent( wxKeyEvent& event);
@@ -135,7 +135,6 @@ private:
void OnContextFilterTemp (wxCommandEvent& event);
void OnContextExcludeExtension (wxCommandEvent& event);
void OnContextExcludeObject (wxCommandEvent& event);
- void OnContextCopyClipboard (wxCommandEvent& event);
void OnContextOpenWith (wxCommandEvent& event);
void OnContextDeleteFiles (wxCommandEvent& event);
void OnContextSyncDirLeft (wxCommandEvent& event);
@@ -194,6 +193,7 @@ private:
void refreshGridAfterFilterChange(const int delay);
void OnResize( wxSizeEvent& event);
+ //void OnResizeTopButtons( wxEvent& event);
void OnResizeFolderPairs( wxEvent& event);
void OnResizeConfigPanel( wxEvent& event);
void OnResizeViewPanel( wxEvent& event);
@@ -243,7 +243,7 @@ private:
xmlAccess::XmlGlobalSettings* globalSettings; //always bound
//UI view of FolderComparison structure
- std::auto_ptr<ffs3::GridView> gridDataView;
+ std::auto_ptr<zen::GridView> gridDataView;
//-------------------------------------
//functional configuration
bgstack15