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.
Available since: 1.6.1
fu_backend_device_added
Emits a signal that indicates the device has been added.
Available since: 1.6.1
fu_backend_device_changed
Emits a signal that indicates the device has been changed.
Available since: 1.6.1
fu_backend_device_removed
Emits a signal that indicates the device has been removed.
Available since: 1.6.1
fu_backend_get_enabled
Return the boolean value of a key if it’s been configured.
Available since: 1.6.1
fu_backend_get_name
Return the name of the backend, which is normally set by the subclass.
Available since: 1.6.1
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.
Available since: 1.6.1
Properties
FwupdPlugin.Backend:context
FwupdPlugin.Backend:name
Signals
FwupdPlugin.Backend::device-added
FwupdPlugin.Backend::device-changed
FwupdPlugin.Backend::device-removed
Class structure
struct FwupdPluginBackendClass {
GObjectClass parent_class;
gboolean (* setup) (
FuBackend* self,
GError** error
);
gboolean (* coldplug) (
FuBackend* self,
GError** error
);
}
Class members
parent_class |
|
No description available. | |
setup |
|
No description available. | |
coldplug |
|
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.
Available since: 1.6.1
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.
Available since: 1.6.1