| libdmapsharing Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
#define DMAP_TYPE_RECORD_FACTORY #define DMAP_RECORD_FACTORY (o) #define IS_DMAP_RECORD_FACTORY (o) #define DMAP_RECORD_FACTORY_GET_INTERFACE (o) DMAPRecordFactory; struct DMAPRecordFactoryIface; GType dmap_record_factory_get_type (void); DMAPRecord * dmap_record_factory_create (DMAPRecordFactory *factory,gpointer user_data);
#define DMAP_TYPE_RECORD_FACTORY (dmap_record_factory_get_type ())
The type for DMAPRecordFactory.
#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.
|
Object which is subject to casting. |
#define IS_DMAP_RECORD_FACTORY(o)
Checks whether a valid GTypeInstance pointer is of type
DMAP_TYPE_RECORD_FACTORY.
|
Instance to check for being a DMAP_TYPE_RECORD_FACTORY. |
#define DMAP_RECORD_FACTORY_GET_INTERFACE(o)
Get the interface structure associated to a DMAPRecordFactory instance.
|
a DMAPRecordFactory instance. |
Returns : |
pointer to object interface structure. |
struct DMAPRecordFactoryIface {
GTypeInterface parent;
DMAPRecord *(*create) (DMAPRecordFactory * factory,
gpointer user_data);
};
DMAPRecord * dmap_record_factory_create (DMAPRecordFactory *factory,gpointer user_data);
|
A DMAPRecordFactory. |
|
Some piece of data that may be used to initialize return value. |
Returns : |
a new DMAPRecord as read from path. |