pollymc/depends/util/include/userutils.h

18 lines
483 B
C
Raw Normal View History

#pragma once
#include <QString>
2013-02-26 02:14:36 +05:30
#include "libutil_config.h"
namespace Util
{
2013-02-26 01:09:07 +05:30
// Get the Directory representing the User's Desktop
2013-02-27 04:17:39 +05:30
LIBUTIL_EXPORT QString getDesktopDir();
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
LIBUTIL_EXPORT bool createShortCut(QString location, QString dest, QStringList args,
QString name, QString iconLocation);
}