aboutsummaryrefslogtreecommitdiff
path: root/launcher/InstanceCopyPrefs.h
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-02-08 18:39:17 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-03-20 14:56:32 -0700
commit1bed7754e0bf3c009a38818963fe8d0832b36852 (patch)
treed640176eb3f5bc15ee286759ab42899f72b94898 /launcher/InstanceCopyPrefs.h
parent59788823785c186af78d8100fce3bdedbed85c80 (diff)
downloadPrismLauncher-1bed7754e0bf3c009a38818963fe8d0832b36852.tar.gz
PrismLauncher-1bed7754e0bf3c009a38818963fe8d0832b36852.tar.bz2
PrismLauncher-1bed7754e0bf3c009a38818963fe8d0832b36852.zip
feat(symlinks): make recursive links explicit
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/InstanceCopyPrefs.h')
-rw-r--r--launcher/InstanceCopyPrefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/launcher/InstanceCopyPrefs.h b/launcher/InstanceCopyPrefs.h
index 61719a06..9fc9dcab 100644
--- a/launcher/InstanceCopyPrefs.h
+++ b/launcher/InstanceCopyPrefs.h
@@ -20,6 +20,7 @@ struct InstanceCopyPrefs {
[[nodiscard]] bool isCopyModsEnabled() const;
[[nodiscard]] bool isCopyScreenshotsEnabled() const;
[[nodiscard]] bool isLinkFilesEnabled() const;
+ [[nodiscard]] bool isLinkRecursivelyEnabled() const;
[[nodiscard]] bool isUseHardLinksEnabled() const;
[[nodiscard]] bool isDontLinkSavesEnabled() const;
// Setters
@@ -32,6 +33,7 @@ struct InstanceCopyPrefs {
void enableCopyMods(bool b);
void enableCopyScreenshots(bool b);
void enableLinkFiles(bool b);
+ void enableLinkRecursively(bool b);
void enableUseHardLinks(bool b);
void enableDontLinkSaves(bool b);
@@ -45,6 +47,7 @@ struct InstanceCopyPrefs {
bool copyMods = true;
bool copyScreenshots = true;
bool linkFiles = false;
+ bool linkRecursively = false;
bool useHardLinks = false;
bool dontLinkSaves = false;
};