63b6c6685c
+ fix typo in comment + remove unused import + add [[nodiscard]] to methods Signed-off-by: Marcelo Hernandez <marcelohdez.inq@gmail.com>
24 lines
531 B
C
24 lines
531 B
C
//
|
|
// Created by marcelohdez on 10/22/22.
|
|
//
|
|
|
|
#ifndef LAUNCHER_INSTANCECOPYPREFS_H
|
|
#define LAUNCHER_INSTANCECOPYPREFS_H
|
|
|
|
#include <QStringList>
|
|
|
|
struct InstanceCopyPrefs {
|
|
bool copySaves = true;
|
|
bool keepPlaytime = true;
|
|
bool copyGameOptions = true;
|
|
bool copyResourcePacks = true;
|
|
bool copyShaderPacks = true;
|
|
bool copyServers = true;
|
|
bool copyMods = true;
|
|
|
|
[[nodiscard]] bool allTrue() const;
|
|
[[nodiscard]] QString getSelectedFiltersAsRegex() const;
|
|
};
|
|
|
|
#endif // LAUNCHER_INSTANCECOPYPREFS_H
|