aboutsummaryrefslogtreecommitdiff
path: root/launcher/FileSystem.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-11-25 13:11:00 +0100
committerGitHub <noreply@github.com>2022-11-25 13:11:00 +0100
commitfd8b4c536807c2fd40cd9ca3e694b602684a94a6 (patch)
treed9022b46736eec47a5fc88507310d4d337202314 /launcher/FileSystem.h
parent5872c34315714a6749a390c85be85a162d229b38 (diff)
parentba46ff6692beb49c32260a962894c53996c32ccf (diff)
downloadPrismLauncher-fd8b4c536807c2fd40cd9ca3e694b602684a94a6.tar.gz
PrismLauncher-fd8b4c536807c2fd40cd9ca3e694b602684a94a6.tar.bz2
PrismLauncher-fd8b4c536807c2fd40cd9ca3e694b602684a94a6.zip
Merge pull request #227 from Leo40Git/feature/instance-shortcuts
Closes https://github.com/PrismLauncher/PrismLauncher/issues/210
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 a9a81123..ac893725 100644
--- a/launcher/FileSystem.h
+++ b/launcher/FileSystem.h
@@ -172,4 +172,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);
}