Method

FwupdPluginContextadd_firmware_gtype

since: 2.1.1

Declaration [src]

void
fu_context_add_firmware_gtype (
  FuContext* self,
  GType gtype
)

Description [src]

Adds a firmware GType which is used when creating devices.

Plugins can use this method only in fu_plugin_init().

Available since: 2.1.1

Parameters

gtype

Type: GType

A GType e.g. FU_TYPE_FOO_FIRMWARE.