![]() |
![]() |
![]() |
libdmapsharing Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#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
);
#define TYPE_DMAP_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
TYPE_DMAP_RECORD_FACTORY
.
|
Instance to check for being a TYPE_DMAP_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. |
typedef struct { GTypeInterface parent; DMAPRecord *(*create) (DMAPRecordFactory *factory, gpointer user_data); } DMAPRecordFactoryInterface;
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. |