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