2013-11-04 01:53:05 +00:00
|
|
|
#pragma once
|
2013-02-13 03:03:15 +00:00
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
2015-09-28 19:53:46 +01:00
|
|
|
#include "multimc_util_export.h"
|
2013-02-25 20:44:36 +00:00
|
|
|
|
2013-02-13 03:03:15 +00:00
|
|
|
namespace Util
|
|
|
|
{
|
2013-02-25 19:39:07 +00:00
|
|
|
// Get the Directory representing the User's Desktop
|
2015-09-28 19:53:46 +01:00
|
|
|
MULTIMC_UTIL_EXPORT QString getDesktopDir();
|
2013-02-13 03:03:15 +00:00
|
|
|
|
2013-02-25 19:39:07 +00:00
|
|
|
// 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
|
2015-09-28 19:53:46 +01:00
|
|
|
MULTIMC_UTIL_EXPORT bool createShortCut(QString location, QString dest, QStringList args,
|
2013-11-04 01:53:05 +00:00
|
|
|
QString name, QString iconLocation);
|
2013-02-13 03:03:15 +00:00
|
|
|
}
|