summaryrefslogtreecommitdiff
path: root/ui/settingsDialog.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:03:20 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:03:20 +0200
commit528635604eea1d8c679a3d038e2f00030ef72444 (patch)
tree9c3cbec29aa7d3e209939662e040b9342c9e7400 /ui/settingsDialog.h
parent3.1 (diff)
downloadFreeFileSync-528635604eea1d8c679a3d038e2f00030ef72444.tar.gz
FreeFileSync-528635604eea1d8c679a3d038e2f00030ef72444.tar.bz2
FreeFileSync-528635604eea1d8c679a3d038e2f00030ef72444.zip
3.2
Diffstat (limited to 'ui/settingsDialog.h')
-rw-r--r--ui/settingsDialog.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/ui/settingsDialog.h b/ui/settingsDialog.h
index feb763a9..0864cf92 100644
--- a/ui/settingsDialog.h
+++ b/ui/settingsDialog.h
@@ -7,6 +7,7 @@
class BatchFileDropEvent;
class BatchFolderPairPanel;
+class FirstBatchFolderPairCfg;
namespace FreeFileSync
{
@@ -97,7 +98,8 @@ private:
class BatchDialog: public BatchDlgGenerated
{
friend class BatchFileDropEvent;
- friend class BatchFolderPairPanel;
+ template <class GuiPanel>
+ friend class FolderPairCallback;
public:
BatchDialog(wxWindow* window, const xmlAccess::XmlBatchConfig& batchCfg);
@@ -135,6 +137,8 @@ private:
void removeAddFolderPair(const int pos);
void clearAddFolderPairs();
+void updateGuiForFolderPair();
+
FreeFileSync::CompareVariant getCurrentCompareVar() const;
void updateConfigIcons(const FreeFileSync::CompareVariant cmpVar, const FreeFileSync::SyncConfiguration& syncConfig);
@@ -163,6 +167,8 @@ private:
xmlAccess::XmlBatchConfig getCurrentConfiguration() const;
FreeFileSync::SyncConfiguration localSyncConfiguration;
+
+ boost::shared_ptr<FirstBatchFolderPairCfg> firstFolderPair; //always bound!!!
std::vector<BatchFolderPairPanel*> additionalFolderPairs;
//used when saving batch file
@@ -170,11 +176,6 @@ private:
//add drag & drop support when selecting logfile directory
std::auto_ptr<FreeFileSync::DragDropOnDlg> dragDropOnLogfileDir;
-
- //support for drag and drop on main pair
- std::auto_ptr<FreeFileSync::DragDropOnDlg> dragDropOnLeft;
- std::auto_ptr<FreeFileSync::DragDropOnDlg> dragDropOnRight;
-
std::auto_ptr<FreeFileSync::DragDropOnDlg> dragDropCustomDelFolder;
};
bgstack15