UTPassMirror/plugins/FileSystem/plugin.cpp
2019-03-13 19:38:12 +01:00

11 lines
301 B
C++

#include <QtQml>
#include <QtQml/QQmlContext>
#include "plugin.h"
#include "filesystem.h"
void FileSystemPlugin::registerTypes(const char *uri) {
//@uri Pass
qmlRegisterSingletonType<FileSystem>(uri, 1, 0, "FileSystem", [](QQmlEngine*, QJSEngine*) -> QObject* { return new FileSystem; });
}