diff options
author | Andrew <forkk@forkk.net> | 2013-02-25 13:31:37 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-02-25 13:31:37 -0600 |
commit | 23474da17500b35bf4fb2a754021175361baab00 (patch) | |
tree | db2dda426ec4a91982f5f5539b08cc7c3bb1fd35 /libutil/include/userutils.h | |
parent | 498225debdb22d83e591635dbd172cca12476279 (diff) | |
parent | 4fd5bdb01b27c99f16c9acf3c7ac13c7ea719800 (diff) | |
download | PrismLauncher-23474da17500b35bf4fb2a754021175361baab00.tar.gz PrismLauncher-23474da17500b35bf4fb2a754021175361baab00.tar.bz2 PrismLauncher-23474da17500b35bf4fb2a754021175361baab00.zip |
Merge branch 'master' of git://github.com/peterix/MultiMC5
Conflicts:
CMakeLists.txt
main.cpp
Diffstat (limited to 'libutil/include/userutils.h')
-rw-r--r-- | libutil/include/userutils.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libutil/include/userutils.h b/libutil/include/userutils.h new file mode 100644 index 00000000..c99e758e --- /dev/null +++ b/libutil/include/userutils.h @@ -0,0 +1,17 @@ +#ifndef USERUTILS_H +#define USERUTILS_H + +#include <QString> + +namespace Util +{ + // Get the Directory representing the User's Desktop + 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 + bool createShortCut(QString location, QString dest, QStringList args, QString name, QString iconLocation); +} + +#endif // USERUTILS_H |