summaryrefslogtreecommitdiffstats
path: root/libutil/include/userutils.h
blob: 06a8ca1659ad00fb2b95343c43dc931e60cfe45d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef USERUTILS_H
#define USERUTILS_H

#include <QString>

#include "libutil_config.h"

namespace Util
{
// Get the Directory representing the User's Desktop
LIBMMCUTIL_EXPORT 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
LIBMMCUTIL_EXPORT bool createShortCut(QString location, QString dest, QStringList args, QString name, QString iconLocation);
}

#endif // USERUTILS_H