mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-26 21:37:04 +08:00
20 lines
375 B
C++
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
|