| libdmapsharing-3.0 Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#define DAAP_TYPE_CONNECTION #define DAAP_CONNECTION (o) #define DAAP_CONNECTION_CLASS (k) #define IS_DAAP_CONNECTION (o) #define IS_DAAP_CONNECTION_CLASS (k) #define DAAP_CONNECTION_GET_CLASS (o) typedef DAAPConnectionPrivate; DAAPConnectionClass; GType daap_connection_get_type (void); DAAPConnection * daap_connection_new (const char *name,const char *host,guint port,gboolean password_protected,DMAPDb *db,DMAPRecordFactory *factory);
#define DAAP_TYPE_CONNECTION (daap_connection_get_type ())
The type for DAAPConnection.
#define DAAP_CONNECTION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DAAP_TYPE_CONNECTION, DAAPConnection))
Casts a DAAPConnection or derived pointer into a (DAAPConnection *) 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 DAAP_CONNECTION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), DAAP_TYPE_CONNECTION, DAAPConnectionClass))
Casts a derived DAAPConnectionClass structure into a DAAPConnectionClass structure.
|
a valid DAAPConnectionClass |
#define IS_DAAP_CONNECTION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DAAP_TYPE_CONNECTION))
Checks whether a valid GTypeInstance pointer is of type DAAP_TYPE_CONNECTION.
|
Instance to check for being a DAAP_TYPE_CONNECTION.
|
#define IS_DAAP_CONNECTION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DAAP_TYPE_CONNECTION))
Checks whether k "is a" valid DAAPConnectionClass structure of type
DAAP_CONNECTION or derived.
|
a DAAPConnectionClass |
#define DAAP_CONNECTION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DAAP_TYPE_CONNECTION, DAAPConnectionClass))
Get the class structure associated to a DAAPConnection instance.
|
a DAAPConnection instance. |
Returns : |
pointer to object class structure. |
typedef struct {
DMAPConnectionClass dmap_connection_class;
} DAAPConnectionClass;
DAAPConnection * daap_connection_new (const char *name,const char *host,guint port,gboolean password_protected,DMAPDb *db,DMAPRecordFactory *factory);
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |