aboutsummaryrefslogtreecommitdiff
path: root/launcher/FileSystem.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-01-07 17:33:34 +0100
committerGitHub <noreply@github.com>2023-01-07 17:33:34 +0100
commitf3f628410d3d4c9589b8ec2d06d492e7861c35a3 (patch)
tree415bb4e7bb92dd48bec8097ea73a8e63d5c0c10e /launcher/FileSystem.h
parent9901ecda4938827986e4754f770a2b35b64bb774 (diff)
parent0ebf04a021c633cd6a3cdd76514aa728dc253714 (diff)
downloadPrismLauncher-f3f628410d3d4c9589b8ec2d06d492e7861c35a3.tar.gz
PrismLauncher-f3f628410d3d4c9589b8ec2d06d492e7861c35a3.tar.bz2
PrismLauncher-f3f628410d3d4c9589b8ec2d06d492e7861c35a3.zip
Merge pull request #576 from Ryex/identify-zip-packs
fix https://github.com/PrismLauncher/PrismLauncher/issues/349
Diffstat (limited to 'launcher/FileSystem.h')
-rw-r--r--launcher/FileSystem.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/launcher/FileSystem.h b/launcher/FileSystem.h
index 15233b66..f083f3c7 100644
--- a/launcher/FileSystem.h
+++ b/launcher/FileSystem.h
@@ -123,6 +123,14 @@ class copy : public QObject {
};
/**
+ * @brief moves a file by renaming it
+ * @param source source file path
+ * @param dest destination filepath
+ *
+ */
+bool move(const QString& source, const QString& dest);
+
+/**
* Delete a folder recursively
*/
bool deletePath(QString path);