#include "netinterfaces_plugin.h" #include "netinterfaces.h" #include void NetInterfacesPlugin::registerTypes(const char *uri) { // gfa.plugins.qml.net qmlRegisterType(uri, 1, 0, "NetInterfaces"); qmlRegisterUncreatableType(uri, 1, 0, "Interface", "return type only"); qmlRegisterUncreatableType(uri, 1, 0, "IPv4Address", "return type only"); }