pollymc/libutil/include/userutils.h

18 lines
463 B
C
Raw Normal View History

#ifndef USERUTILS_H
#define USERUTILS_H
#include <QString>
namespace Util
{
2013-02-26 01:09:07 +05:30
// Get the Directory representing the User's Desktop
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
bool createShortCut(QString location, QString dest, QStringList args, QString name, QString iconLocation);
}
#endif // USERUTILS_H