This repository has been archived on 2020-04-18. You can view files and clone it, but cannot push or open issues or pull requests.
FediPotato/gui/src/qmlbridge.hpp

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