## ide-device-manager

ide-device-manager

## Functions

void | ide_device_manager_add_provider ()
GPtrArray * | ide_device_manager_get_devices ()
gboolean | ide_device_manager_get_settled ()
void | ide_device_manager_remove_provider ()
IdeDevice * | ide_device_manager_get_device ()

## Types and Values

#define | IDE_TYPE_DEVICE_MANAGER
| IdeDeviceManager

## Description

## Functions

### ide_device_manager_add_provider ()

    void
    ide_device_manager_add_provider (IdeDeviceManager *self,
                                     IdeDeviceProvider *provider);

### ide_device_manager_get_devices ()

    GPtrArray *
    ide_device_manager_get_devices (IdeDeviceManager *self);

Retrieves all of the devices that are registered with the IdeDeviceManager.

#### Returns

An array of devices registered with the IdeManager.

[transfer container][element-type IdeDevice*]

### ide_device_manager_get_settled ()

    gboolean
    ide_device_manager_get_settled (IdeDeviceManager *self);

### ide_device_manager_remove_provider ()

    void
    ide_device_manager_remove_provider (IdeDeviceManager *self,
                                        IdeDeviceProvider *provider);

### ide_device_manager_get_device ()

    IdeDevice *
    ide_device_manager_get_device (IdeDeviceManager *self,
                                   const gchar *device_id);

Fetches the first device that matches the device identifier `device_id` .

#### Parameters

device_id | The device identifier string. |

#### Returns

An IdeDevice or `NULL`.

[transfer none]

## Types and Values

### IDE_TYPE_DEVICE_MANAGER

    #define IDE_TYPE_DEVICE_MANAGER (ide_device_manager_get_type())

### IdeDeviceManager

    typedef struct _IdeDeviceManager IdeDeviceManager;