diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-05-02 12:11:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 12:11:41 +0200 |
commit | 64ba5e4ed1456bed159cfe7b41ed9175b8baf5c4 (patch) | |
tree | 9e0de7effc3ca0b49ce2c5ffb2c1462c626929c3 /launcher/InstanceCopyPrefs.h | |
parent | ae75585b52078ca6d89b4014668c08d9aea4a17b (diff) | |
parent | d80dee2a54a172fa19c0bc21486ee43ef2e3514d (diff) | |
download | PrismLauncher-64ba5e4ed1456bed159cfe7b41ed9175b8baf5c4.tar.gz PrismLauncher-64ba5e4ed1456bed159cfe7b41ed9175b8baf5c4.tar.bz2 PrismLauncher-64ba5e4ed1456bed159cfe7b41ed9175b8baf5c4.zip |
Merge pull request #833 from Ryex/advanced_copy_instance
Diffstat (limited to 'launcher/InstanceCopyPrefs.h')
-rw-r--r-- | launcher/InstanceCopyPrefs.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/launcher/InstanceCopyPrefs.h b/launcher/InstanceCopyPrefs.h index 6988b2df..c7bde068 100644 --- a/launcher/InstanceCopyPrefs.h +++ b/launcher/InstanceCopyPrefs.h @@ -10,6 +10,7 @@ struct InstanceCopyPrefs { public: [[nodiscard]] bool allTrue() const; [[nodiscard]] QString getSelectedFiltersAsRegex() const; + [[nodiscard]] QString getSelectedFiltersAsRegex(const QStringList& additionalFilters) const; // Getters [[nodiscard]] bool isCopySavesEnabled() const; [[nodiscard]] bool isKeepPlaytimeEnabled() const; @@ -19,6 +20,11 @@ struct InstanceCopyPrefs { [[nodiscard]] bool isCopyServersEnabled() const; [[nodiscard]] bool isCopyModsEnabled() const; [[nodiscard]] bool isCopyScreenshotsEnabled() const; + [[nodiscard]] bool isUseSymLinksEnabled() const; + [[nodiscard]] bool isLinkRecursivelyEnabled() const; + [[nodiscard]] bool isUseHardLinksEnabled() const; + [[nodiscard]] bool isDontLinkSavesEnabled() const; + [[nodiscard]] bool isUseCloneEnabled() const; // Setters void enableCopySaves(bool b); void enableKeepPlaytime(bool b); @@ -28,6 +34,11 @@ struct InstanceCopyPrefs { void enableCopyServers(bool b); void enableCopyMods(bool b); void enableCopyScreenshots(bool b); + void enableUseSymLinks(bool b); + void enableLinkRecursively(bool b); + void enableUseHardLinks(bool b); + void enableDontLinkSaves(bool b); + void enableUseClone(bool b); protected: // data bool copySaves = true; @@ -38,4 +49,9 @@ struct InstanceCopyPrefs { bool copyServers = true; bool copyMods = true; bool copyScreenshots = true; + bool useSymLinks = false; + bool linkRecursively = false; + bool useHardLinks = false; + bool dontLinkSaves = false; + bool useClone = false; }; |