fort/src/ui/util/osutil.h

22 lines
385 B
C
Raw Normal View History

2017-09-05 11:06:21 +00:00
#ifndef OSUTIL_H
#define OSUTIL_H
#include <QObject>
#include <QVariant>
class OsUtil : public QObject
{
Q_OBJECT
public:
explicit OsUtil(QObject *parent = nullptr);
Q_INVOKABLE static void setClipboardData(const QVariant &data);
2017-09-13 08:26:51 +00:00
Q_INVOKABLE static QString pidToKernelPath(quint32 pid);
static bool createGlobalMutex(const char *name);
2017-09-05 11:06:21 +00:00
};
#endif // OSUTIL_H