FluentUI/src/Fluent.h
朱子楚\zhuzi b459b9dda6 update
2023-03-05 23:39:13 +08:00

20 lines
375 B
C++

#ifndef FLUENT_H
#define FLUENT_H
#include <QObject>
#include <QQmlEngine>
class Fluent: public QObject
{
Q_OBJECT
public:
Q_INVOKABLE QString version() const;
void registerTypes(const char *uri);
void initializeEngine(QQmlEngine *engine, const char *uri);
static Fluent *getInstance();
private:
static Fluent* m_instance;
};
#endif // FLUENT_H