## dmap-record-factory dmap-record-factory |

## Synopsis

    #define             TYPE_DMAP_RECORD_FACTORY
    #define             DMAP_RECORD_FACTORY                 (o)
    #define             IS_DMAP_RECORD_FACTORY              (o)
    #define             DMAP_RECORD_FACTORY_GET_INTERFACE   (o)
                        DMAPRecordFactory;
                        DMAPRecordFactoryInterface;
    GType               dmap_record_factory_get_type        (void);
    DMAPRecord *        dmap_record_factory_create          (DMAPRecordFactory *factory,
                                                             gpointer user_data);

## Object Hierarchy

      GInterface
       +----DMAPRecordFactory

## Description

## Details

### TYPE_DMAP_RECORD_FACTORY

    #define TYPE_DMAP_RECORD_FACTORY (dmap_record_factory_get_type ())

The type for DMAPRecordFactory.

### DMAP_RECORD_FACTORY()

    #define             DMAP_RECORD_FACTORY(o)

Casts a DMAPRecordFactory or derived pointer into a (DMAPRecordFactory *) pointer. Depending on the current debugging level, this function may invoke certain runtime checks to identify invalid casts.

`o` : | Object which is subject to casting.

### IS_DMAP_RECORD_FACTORY()

    #define             IS_DMAP_RECORD_FACTORY(o)

Checks whether a valid GTypeInstance pointer is of type `TYPE_DMAP_RECORD_FACTORY`.

`o` : | Instance to check for being a `TYPE_DMAP_RECORD_FACTORY`.

### DMAP_RECORD_FACTORY_GET_INTERFACE()

    #define             DMAP_RECORD_FACTORY_GET_INTERFACE(o)

Get the interface structure associated to a DMAPRecordFactory instance.

`o` : | a DMAPRecordFactory instance.
Returns : | pointer to object interface structure.

### DMAPRecordFactory

    typedef struct _DMAPRecordFactory DMAPRecordFactory;

### DMAPRecordFactoryInterface

    typedef struct {
    	GTypeInterface parent;

    	DMAPRecord *(*create) (DMAPRecordFactory *factory, gpointer user_data);
    } DMAPRecordFactoryInterface;

### dmap_record_factory_get_type ()

    GType               dmap_record_factory_get_type        (void);

Returns : |

### dmap_record_factory_create ()

    DMAPRecord *        dmap_record_factory_create          (DMAPRecordFactory *factory,
                                                             gpointer user_data);

`factory` : | A DMAPRecordFactory.
`user_data` : | Some piece of data that may be used to initialize return value.
Returns : | a new DMAPRecord as read from path.