mirror of
https://github.com/monero-project/monero-gui
synced 2024-12-21 03:45:53 +01:00
23 lines
386 B
C
23 lines
386 B
C
|
#ifndef OSHELPER_H
|
||
|
#define OSHELPER_H
|
||
|
|
||
|
#include <QObject>
|
||
|
/**
|
||
|
* @brief The OSHelper class - exports to QML some OS-related functions
|
||
|
*/
|
||
|
class OSHelper : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit OSHelper(QObject *parent = 0);
|
||
|
|
||
|
Q_INVOKABLE QString temporaryFilename() const;
|
||
|
Q_INVOKABLE QString temporaryPath() const;
|
||
|
|
||
|
signals:
|
||
|
|
||
|
public slots:
|
||
|
};
|
||
|
|
||
|
#endif // OSHELPER_H
|