diff options
Diffstat (limited to 'FreeFileSync/Source/RealTimeSync/main_dlg.h')
-rwxr-xr-x | FreeFileSync/Source/RealTimeSync/main_dlg.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/FreeFileSync/Source/RealTimeSync/main_dlg.h b/FreeFileSync/Source/RealTimeSync/main_dlg.h index 21decc40..cecf26c8 100755 --- a/FreeFileSync/Source/RealTimeSync/main_dlg.h +++ b/FreeFileSync/Source/RealTimeSync/main_dlg.h @@ -17,10 +17,9 @@ #include "folder_selector2.h" -namespace xmlAccess +namespace rts { struct XmlRealConfig; -} class DirectoryPanel; @@ -45,27 +44,29 @@ private: void OnRemoveTopFolder(wxCommandEvent& event) override; void OnKeyPressed (wxKeyEvent& event); void OnStart (wxCommandEvent& event) override; + void OnConfigNew (wxCommandEvent& event) override; void OnConfigSave (wxCommandEvent& event) override; void OnConfigLoad (wxCommandEvent& event) override; void OnMenuQuit (wxCommandEvent& event) override { Close(); } void onFilesDropped(zen::FileDropEvent& event); - void setConfiguration(const xmlAccess::XmlRealConfig& cfg); - xmlAccess::XmlRealConfig getConfiguration(); + void setConfiguration(const XmlRealConfig& cfg); + XmlRealConfig getConfiguration(); void setLastUsedConfig(const Zstring& filepath); void addFolder(const std::vector<Zstring>& newFolders, bool addFront = false); void removeAddFolder(size_t pos); void clearAddFolders(); - std::unique_ptr<zen::FolderSelector2> dirpathFirst; + std::unique_ptr<FolderSelector2> dirpathFirst; std::vector<DirectoryPanel*> dirpathsExtra; //additional pairs to the standard pair const Zstring lastRunConfigPath_; - Zstring currentConfigFileName_; + Zstring activeConfigFile_; zen::AsyncGuiQueue guiQueue_; //schedule and run long-running tasks asynchronously, but process results on GUI queue }; +} #endif //MAIN_DLG_H_2384790842252445 |