gfativaflash_plugin.cpp 641 B

1234567891011121314
  1. #include "gfativaflash_plugin.h"
  2. #include "gfativaflash.h"
  3. #include <qqml.h>
  4. void TivaFlashPlugin::registerTypes(const char *uri)
  5. {
  6. // gfa.plugins.qml.tivaflash
  7. qmlRegisterType<TivaFlash>(uri, 1, 0, "TivaFlash");
  8. /* qmlRegisterUncreatableType<Interface>(uri, 1, 0, "Interface", "return type only");
  9. qmlRegisterUncreatableType<Inet>(uri, 1, 0, "Inet", "return type only");
  10. qmlRegisterUncreatableType<Static>(uri, 1, 0, "Static", "return type only");
  11. qmlRegisterUncreatableType<Dhcp>(uri, 1, 0, "Dhcp", "return type only");
  12. qmlRegisterUncreatableType<IPv4Address>(uri, 1, 0, "IPv4Address", "return type only");*/
  13. }