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