FluentUI/src/FluentUI.h

26 lines
501 B
C
Raw Normal View History

2023-09-09 20:09:20 +08:00
#ifndef FLUENTUI_H
#define FLUENTUI_H
#include <QObject>
#include <QQmlEngine>
2023-11-24 15:41:44 +08:00
#include "singleton.h"
2023-09-09 20:09:20 +08:00
2024-02-27 12:23:24 +08:00
/**
* @brief The FluentUI class
*/
2023-09-09 20:09:20 +08:00
class FluentUI : public QObject
{
Q_OBJECT
public:
SINGLETON(FluentUI)
2023-09-09 20:09:20 +08:00
Q_DECL_EXPORT void registerTypes(QQmlEngine *engine);
void registerTypes(const char *uri);
void initializeEngine(QQmlEngine *engine, const char *uri);
private:
2023-11-24 15:41:44 +08:00
const int major = 1;
const int minor = 0;
const char *uri = "FluentUI";
2023-09-09 20:09:20 +08:00
};
#endif // FLUENTUI_H