Class
IdeDeviceProvider
Instance methods
ide_device_provider_get_devices
Gets a new GPtrArray
containing a list of IdeDevice
instances that were
registered by the IdeDeviceProvider
.
ide_device_provider_load_async
Requests that the IdeDeviceProvider
asynchronously load any known devices.
ide_device_provider_load_finish
Completes an asynchronous request to load known devices via ide_device_provider_load_async().
Properties
Properties inherited from IdeObject (2)
Ide.Object:cancellable
The “cancellable” property is a GCancellable
that can be used by operations
that will be cancelled when the IdeObject::destroy
signal is emitted on self
.
Ide.Object:parent
The parent IdeObject
, if any.
Signals
Ide.DeviceProvider::device-added
The “device-added” signal is emitted when a provider has discovered a device has become available.
Ide.DeviceProvider::device-removed
The “device-removed” signal is emitted when a provider has discovered a device is no longer available.
Signals inherited from IdeObject (1)
IdeObject::destroy
The “destroy” signal is emitted when the object should destroy itself and cleanup any state that is no longer necessary. This happens when the object has been removed from the because it was requested to be destroyed, or because a parent object is being destroyed.
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 IdeDeviceProviderClass {
IdeObjectClass parent_class;
void (* device_added) (
IdeDeviceProvider* self,
IdeDevice* device
);
void (* device_removed) (
IdeDeviceProvider* self,
IdeDevice* device
);
void (* load_async) (
IdeDeviceProvider* self,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
gboolean (* load_finish) (
IdeDeviceProvider* self,
GAsyncResult* result,
GError** error
);
}
Class members
parent_class: IdeObjectClass
- No description available.
device_added: void (* device_added) ( IdeDeviceProvider* self, IdeDevice* device )
- No description available.
device_removed: void (* device_removed) ( IdeDeviceProvider* self, IdeDevice* device )
- No description available.
load_async: void (* load_async) ( IdeDeviceProvider* self, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
- No description available.
load_finish: gboolean (* load_finish) ( IdeDeviceProvider* self, GAsyncResult* result, GError** error )
- No description available.
Virtual methods
Ide.DeviceProviderClass.load_async
Requests that the IdeDeviceProvider
asynchronously load any known devices.
Ide.DeviceProviderClass.load_finish
Completes an asynchronous request to load known devices via ide_device_provider_load_async().