DACPConnection

DACPConnection

Synopsis

#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);

Description

Details

DACP_TYPE_CONNECTION

#define DACP_TYPE_CONNECTION		(dacp_connection_get_type ())

The type for DACPConnection.


DACP_CONNECTION()

#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.

o :

Object which is subject to casting.

DACP_CONNECTION_CLASS()

#define DACP_CONNECTION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), DACP_TYPE_CONNECTION, DACPConnectionClass))

Casts a derived DACPConnectionClass structure into a DACPConnectionClass structure.

k :

a valid DACPConnectionClass

IS_DACP_CONNECTION()

#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.

o :

Instance to check for being a DACP_TYPE_CONNECTION.

IS_DACP_CONNECTION_CLASS()

#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.


DACP_CONNECTION_GET_CLASS()

#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.

o :

a DACPConnection instance.

Returns :

pointer to object class structure.

DACPConnectionPrivate

typedef struct DACPConnectionPrivate DACPConnectionPrivate;


DACPConnectionClass

typedef struct {
	DMAPConnectionClass dmap_connection_class;
} DACPConnectionClass;


dacp_connection_get_type ()

GType               dacp_connection_get_type            (void);

Returns :


dacp_connection_new ()

DACPConnection *    dacp_connection_new                 (const char *name,
                                                         const char *host,
                                                         guint port,
                                                         gboolean password_protected,
                                                         DMAPDb *db,
                                                         DMAPRecordFactory *factory);

name :

host :

port :

password_protected :

db :

factory :

Returns :