## OGMDvdMonitor OGMDvdMonitor — An object monitoring optical drives |

## Synopsis

    #include <ogmdvd-monitor.h>

    struct              OGMDvdMonitor;
    OGMDvdMonitor *     ogmdvd_monitor_get_default          (void);
    GSList *            ogmdvd_monitor_get_drives           (OGMDvdMonitor *monitor);
    OGMDvdDrive *       ogmdvd_monitor_get_drive            (OGMDvdMonitor *monitor,
                                                             const gchar *device);

## Description

## Details

### struct OGMDvdMonitor

    struct OGMDvdMonitor {
      GObject parent_instance;

      OGMDvdMonitorPriv *priv;
    };

### ogmdvd_monitor_get_default ()

    OGMDvdMonitor *     ogmdvd_monitor_get_default          (void);

Gets the default monitor.

Returns : | an OGMDvdMonitor

### ogmdvd_monitor_get_drives ()

    GSList *            ogmdvd_monitor_get_drives           (OGMDvdMonitor *monitor);

Get the list of available OGMDvdDrive.

`monitor` : | OGMDvdMonitor
Returns : | a list of optical drives

### ogmdvd_monitor_get_drive ()

    OGMDvdDrive *       ogmdvd_monitor_get_drive            (OGMDvdMonitor *monitor,
                                                             const gchar *device);

Gets the drive with the given device in any.

`monitor` : | OGMDvdMonitor
`device` : | a device path
Returns : | an OGMDvdDrive or NULL