aboutsummaryrefslogtreecommitdiff
path: root/launcher/FileSystem.h
diff options
context:
space:
mode:
authorADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>2022-10-22 17:56:27 +0300
committerADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>2022-11-12 20:19:25 +0200
commit70768189bae0f4d5cfb24b57347cf7207dfc5496 (patch)
tree226d7fe2ecc1fcd655992b3aed761a163ce81616 /launcher/FileSystem.h
parent30b266622c9457a825d38ba084c9391437a2c87a (diff)
downloadPrismLauncher-70768189bae0f4d5cfb24b57347cf7207dfc5496.tar.gz
PrismLauncher-70768189bae0f4d5cfb24b57347cf7207dfc5496.tar.bz2
PrismLauncher-70768189bae0f4d5cfb24b57347cf7207dfc5496.zip
Windows: implement FS::createShortcut
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
Diffstat (limited to 'launcher/FileSystem.h')
-rw-r--r--launcher/FileSystem.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/launcher/FileSystem.h b/launcher/FileSystem.h
index b7e175fd..23cc575b 100644
--- a/launcher/FileSystem.h
+++ b/launcher/FileSystem.h
@@ -156,4 +156,9 @@ QString getDesktopDir();
// Overrides one folder with the contents of another, preserving items exclusive to the first folder
// Equivalent to doing QDir::rename, but allowing for overrides
bool overrideFolder(QString overwritten_path, QString override_path);
+
+/**
+ * Creates a shortcut to the specified target file at the specified destination path.
+ */
+bool createShortcut(QString destination, QString target, QStringList args, QString name, QString icon);
}