mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 03:10:10 +08:00
26 lines
476 B
C++
26 lines
476 B
C++
#pragma once
|
|
|
|
#include <QObject>
|
|
#include <QQmlEngine>
|
|
#include "singleton.h"
|
|
|
|
/**
|
|
* @brief The FluentUI class
|
|
*/
|
|
class FluentUI : public QObject {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
SINGLETON(FluentUI)
|
|
|
|
Q_DECL_EXPORT void registerTypes(QQmlEngine *engine);
|
|
|
|
void registerTypes(const char *uri) const;
|
|
|
|
void initializeEngine(QQmlEngine *engine, [[maybe_unused]] const char *uri);
|
|
|
|
private:
|
|
const int _major = 1;
|
|
const int _minor = 0;
|
|
const char *_uri = "FluentUI";
|
|
}; |