11 lines
241 B
C++
11 lines
241 B
C++
#include <QtQml>
|
|
|
|
#include "plugin.h"
|
|
#include "git.h"
|
|
|
|
void GitPlugin::registerTypes(const char *uri)
|
|
{
|
|
//@uri Utils
|
|
qmlRegisterSingletonType<Git>(uri, 1, 0, "Git", [](QQmlEngine *, QJSEngine *) -> QObject * { return new Git; });
|
|
}
|