FluentUI/src/Fluent.h

20 lines
375 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:
Q_INVOKABLE QString version() const;
void registerTypes(const char *uri);
void initializeEngine(QQmlEngine *engine, const char *uri);
2023-03-05 23:39:13 +08:00
static Fluent *getInstance();
2023-02-26 23:47:07 +08:00
private:
static Fluent* m_instance;
};
#endif // FLUENT_H