Class
FwupdPluginBackend
Instance methods
fu_backend_coldplug
Adds devices using the subclassed backend. If fu_backend_setup()
has not
already been called then it is run before this function automatically.
since: 1.6.1
fu_backend_get_name
Return the name of the backend, which is normally set by the subclass.
since: 1.6.1
fu_backend_registered
Calls the ->registered() vfunc for the backend. This allows the backend to perform shared backend actions on superclassed devices.
since: 1.7.4
fu_backend_setup
Sets up the backend ready for use, which typically calls the subclassed setup function. No devices should be added or removed at this point.
since: 1.6.1
Signals
FwupdPlugin.Backend::device-added
The ::device-added signal is emitted when a device has been added.
since: 1.6.1
FwupdPlugin.Backend::device-changed
The ::device-changed signal is emitted when a device has been changed.
since: 1.6.1
FwupdPlugin.Backend::device-removed
The ::device-removed signal is emitted when a device has been removed.
since: 1.6.1
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct FwupdPluginBackendClass {
GObjectClass parent_class;
gboolean (* setup) (
FuBackend* self,
GError** error
);
gboolean (* coldplug) (
FuBackend* self,
GError** error
);
void (* registered) (
FuBackend* self,
FuDevice* device
);
}
Class members
parent_class: GObjectClass
- No description available.
setup: gboolean (* setup) ( FuBackend* self, GError** error )
- No description available.
coldplug: gboolean (* coldplug) ( FuBackend* self, GError** error )
- No description available.
registered: void (* registered) ( FuBackend* self, FuDevice* device )
- No description available.
Virtual methods
FwupdPlugin.BackendClass.coldplug
Adds devices using the subclassed backend. If fu_backend_setup()
has not
already been called then it is run before this function automatically.
since: 1.6.1
FwupdPlugin.BackendClass.registered
Calls the ->registered() vfunc for the backend. This allows the backend to perform shared backend actions on superclassed devices.
since: 1.7.4
FwupdPlugin.BackendClass.setup
Sets up the backend ready for use, which typically calls the subclassed setup function. No devices should be added or removed at this point.
since: 1.6.1