summaryrefslogtreecommitdiffstats
path: root/depends/util/include/userutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'depends/util/include/userutils.h')
-rw-r--r--depends/util/include/userutils.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/depends/util/include/userutils.h b/depends/util/include/userutils.h
new file mode 100644
index 00000000..6ce08bce
--- /dev/null
+++ b/depends/util/include/userutils.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#include <QString>
+
+#include "libutil_config.h"
+
+namespace Util
+{
+// Get the Directory representing the User's Desktop
+LIBUTIL_EXPORT QString getDesktopDir();
+
+// Create a shortcut at *location*, pointing to *dest* called with the arguments *args*
+// call it *name* and assign it the icon *icon*
+// return true if operation succeeded
+LIBUTIL_EXPORT bool createShortCut(QString location, QString dest, QStringList args,
+ QString name, QString iconLocation);
+}