Top | ![]() |
![]() |
![]() |
![]() |
LdmProvider * | ldm_provider_new () |
LdmDevice * | ldm_provider_get_device () |
LdmPlugin * | ldm_provider_get_plugin () |
const gchar * | ldm_provider_get_package () |
An LdmProvider is the result type when searching for hardware providers using the LdmManager plugins.
LdmProvider * ldm_provider_new (LdmPlugin *parent_plugin
,LdmDevice *device
,const gchar *package_name
);
Construct a new LdmProvider with the given plugin and device for further processing by the library end user.
LdmDevice *
ldm_provider_get_device (LdmProvider *provider
);
Get the device for this particular provider instance. This device is the one that was used by the “plugin” to construct this particular LdmProvider instance.
LdmPlugin *
ldm_provider_get_plugin (LdmProvider *provider
);
Get the LdmPlugin that constructed this provider instance.
const gchar *
ldm_provider_get_package (LdmProvider *provider
);
Get the package name required to install this provider.
“device”
property “device” gpointer
Device associated with this LdmProvider
[transfer none]
Owner: LdmProvider
Flags: Read / Write / Construct Only
“package”
property “package” char *
The package or bundle name required to install support for this provider.
[transfer none]
Owner: LdmProvider
Flags: Read / Write / Construct Only
Default value: NULL
“plugin”
property “plugin” gpointer
Plugin associated with this LdmProvider. This is the LdmPlugin instance responsible for creating this provider, and provided the initial detection routine.
[transfer none]
Owner: LdmProvider
Flags: Read / Write / Construct Only