aboutsummaryrefslogtreecommitdiff
path: root/launcher/InstanceCopyPrefs.h
diff options
context:
space:
mode:
authorMarcelo Hernandez <marcelohdez.inq@gmail.com>2022-10-22 14:50:32 -0400
committerMarcelo Hernandez <marcelohdez.inq@gmail.com>2022-10-23 19:30:28 -0400
commite7e56eb1e397a528df91f9ce99f738c49bde363c (patch)
treef4308127a25ba76f1ef930e48f7e83ce43df6750 /launcher/InstanceCopyPrefs.h
parent8b28ed67ae25ed95c73e5c486b2a5e81b3a72268 (diff)
downloadPrismLauncher-e7e56eb1e397a528df91f9ce99f738c49bde363c.tar.gz
PrismLauncher-e7e56eb1e397a528df91f9ce99f738c49bde363c.tar.bz2
PrismLauncher-e7e56eb1e397a528df91f9ce99f738c49bde363c.zip
add more options to copy instance dialog
- Copy game options, copy resource packs, copy shaders, copy servers, and copy mods - Also made a new InstanceCopyPrefs struct to store those options rather than passing 7 different booleans into InstanceCopyTask's constructor Signed-off-by: Marcelo Hernandez <marcelohdez.inq@gmail.com>
Diffstat (limited to 'launcher/InstanceCopyPrefs.h')
-rw-r--r--launcher/InstanceCopyPrefs.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/launcher/InstanceCopyPrefs.h b/launcher/InstanceCopyPrefs.h
new file mode 100644
index 00000000..ac2feab8
--- /dev/null
+++ b/launcher/InstanceCopyPrefs.h
@@ -0,0 +1,18 @@
+//
+// Created by marcelohdez on 10/22/22.
+//
+
+#ifndef LAUNCHER_INSTANCECOPYPREFS_H
+#define LAUNCHER_INSTANCECOPYPREFS_H
+
+struct InstanceCopyPrefs {
+ bool copySaves;
+ bool keepPlaytime;
+ bool copyGameOptions;
+ bool copyResourcePacks;
+ bool copyShaderPacks;
+ bool copyServers;
+ bool copyMods;
+};
+
+#endif // LAUNCHER_INSTANCECOPYPREFS_H