23 lines
364 B
C++
23 lines
364 B
C++
#ifndef FEDIPOTATO_GUI_QMLBRIDGE_HPP
|
|
#define FEDIPOTATO_GUI_QMLBRIDGE_HPP
|
|
|
|
#include <QObject>
|
|
#include <QString>
|
|
|
|
namespace FediPotato
|
|
{
|
|
|
|
class QMLBridge : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit QMLBridge(QObject *parent = nullptr);
|
|
|
|
Q_INVOKABLE static QString get_version();
|
|
};
|
|
|
|
} // namespace FediPotato
|
|
|
|
#endif // FEDIPOTATO_GUI_QMLBRIDGE_HPP
|