1234567891011121314 |
- #include "gfativaflash_plugin.h"
- #include "gfativaflash.h"
- #include <qqml.h>
- void TivaFlashPlugin::registerTypes(const char *uri)
- {
- // gfa.plugins.qml.tivaflash
- qmlRegisterType<TivaFlash>(uri, 1, 0, "TivaFlash");
- /* qmlRegisterUncreatableType<Interface>(uri, 1, 0, "Interface", "return type only");
- qmlRegisterUncreatableType<Inet>(uri, 1, 0, "Inet", "return type only");
- qmlRegisterUncreatableType<Static>(uri, 1, 0, "Static", "return type only");
- qmlRegisterUncreatableType<Dhcp>(uri, 1, 0, "Dhcp", "return type only");
- qmlRegisterUncreatableType<IPv4Address>(uri, 1, 0, "IPv4Address", "return type only");*/
- }
|