2023-02-24 18:44:29 +08:00
|
|
|
|
#include "qml_plugin.h"
|
|
|
|
|
|
2023-02-26 23:47:07 +08:00
|
|
|
|
#include "Fluent.h"
|
|
|
|
|
|
2023-02-24 18:44:29 +08:00
|
|
|
|
void FluentUIQmlPlugin::registerTypes(const char *uri)
|
|
|
|
|
{
|
2023-02-26 23:47:07 +08:00
|
|
|
|
Fluent::getInstance()->registerTypes(uri);
|
2023-02-24 18:44:29 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void FluentUIQmlPlugin::initializeEngine(QQmlEngine *engine, const char *uri)
|
|
|
|
|
{
|
2023-02-26 23:47:07 +08:00
|
|
|
|
Fluent::getInstance()->initializeEngine(engine,uri);
|
2023-02-24 18:44:29 +08:00
|
|
|
|
}
|
|
|
|
|
|