PrismLauncher/depends/util/include/userutils.h

20 lines
522 B
C
Raw Normal View History

#ifndef USERUTILS_H
#define USERUTILS_H
#include <QString>
2013-02-25 20:44:36 +00:00
#include "libutil_config.h"
namespace Util
{
2013-02-25 19:39:07 +00:00
// Get the Directory representing the User's Desktop
2013-02-26 22:47:39 +00:00
LIBUTIL_EXPORT QString getDesktopDir();
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
2013-02-26 22:47:39 +00:00
LIBUTIL_EXPORT bool createShortCut(QString location, QString dest, QStringList args, QString name, QString iconLocation);
}
#endif // USERUTILS_H