FluentUI/src/Fluent.h

23 lines
378 B
C
Raw Normal View History

2023-02-26 23:47:07 +08:00
#ifndef FLUENT_H
#define FLUENT_H
#include <QObject>
#include <QQmlEngine>
class Fluent: public QObject
{
Q_OBJECT
public:
static Fluent *getInstance();
Q_INVOKABLE QString version() const;
void registerTypes(const char *uri);
void initializeEngine(QQmlEngine *engine, const char *uri);
private:
static Fluent* m_instance;
};
#endif // FLUENT_H