mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-27 05:38:37 +08:00
23 lines
378 B
C
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
|