mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-28 15:18:21 +00:00
18 lines
484 B
C
18 lines
484 B
C
|
#ifndef USERUTIL_H
|
||
|
#define USERUTIL_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 // USERUTIL_H
|