![]() |
![]() |
![]() |
libdmapsharing-3.0 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#define DACP_TYPE_CONNECTION #define DACP_CONNECTION (o) #define DACP_CONNECTION_CLASS (k) #define IS_DACP_CONNECTION (o) #define IS_DACP_CONNECTION_CLASS (k) #define DACP_CONNECTION_GET_CLASS (o) typedef DACPConnectionPrivate; DACPConnectionClass; GType dacp_connection_get_type (void
); DACPConnection * dacp_connection_new (const char *name
,const char *host
,guint port
,gboolean password_protected
,DMAPDb *db
,DMAPRecordFactory *factory
);
#define DACP_TYPE_CONNECTION (dacp_connection_get_type ())
The type for DACPConnection.
#define DACP_CONNECTION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DACP_TYPE_CONNECTION, DACPConnection))
Casts a DACPConnection or derived pointer into a (DACPConnection *) 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 DACP_CONNECTION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), DACP_TYPE_CONNECTION, DACPConnectionClass))
Casts a derived DACPConnectionClass structure into a DACPConnectionClass structure.
|
a valid DACPConnectionClass |
#define IS_DACP_CONNECTION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DACP_TYPE_CONNECTION))
Checks whether a valid GTypeInstance pointer is of type DACP_TYPE_CONNECTION
.
|
Instance to check for being a DACP_TYPE_CONNECTION .
|
#define IS_DACP_CONNECTION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DACP_TYPE_CONNECTION))
Checks whether k
"is a" valid DACPConnectionClass structure of type
DACP_CONNECTION
or derived.
|
a DACPConnectionClass |
#define DACP_CONNECTION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DACP_TYPE_CONNECTION, DACPConnectionClass))
Get the class structure associated to a DACPConnection instance.
|
a DACPConnection instance. |
Returns : |
pointer to object class structure. |
typedef struct { DMAPConnectionClass dmap_connection_class; } DACPConnectionClass;
DACPConnection * dacp_connection_new (const char *name
,const char *host
,guint port
,gboolean password_protected
,DMAPDb *db
,DMAPRecordFactory *factory
);
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |