FluentUI/src/Fluent.h
朱子楚\zhuzi 31d563d2f6 update
2023-02-26 23:47:07 +08:00

23 lines
378 B
C++

#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