DAAPConnection

DAAPConnection

Synopsis

#define             TYPE_DAAP_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)
                    DAAPConnectionPrivate;
                    DAAPConnection;
GType               daap_connection_get_type            (void);
DAAPConnection *    daap_connection_new                 (const gchar *name,
                                                         const gchar *host,
                                                         gint port,
                                                         gboolean password_protected,
                                                         DMAPDb *db,
                                                         DMAPRecordFactory *factory);

Object Hierarchy

  GObject
   +----DMAPConnection
         +----DAAPConnection

Description

Details

TYPE_DAAP_CONNECTION

#define TYPE_DAAP_CONNECTION         (daap_connection_get_type ())

The type for DAAPConnection.


DAAP_CONNECTION()

#define DAAP_CONNECTION(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_DAAP_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.

o :

Object which is subject to casting.

DAAP_CONNECTION_CLASS()

#define DAAP_CONNECTION_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), TYPE_DAAP_CONNECTION, DAAPConnectionClass))

Casts a derived DAAPConnectionClass structure into a DAAPConnectionClass structure.

k :

a valid DAAPConnectionClass

IS_DAAP_CONNECTION()

#define IS_DAAP_CONNECTION(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_DAAP_CONNECTION))

Checks whether a valid GTypeInstance pointer is of type TYPE_DAAP_CONNECTION.

o :

Instance to check for being a TYPE_DAAP_CONNECTION.

IS_DAAP_CONNECTION_CLASS()

#define IS_DAAP_CONNECTION_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_DAAP_CONNECTION))

Checks whether k "is a" valid DAAPConnectionClass structure of type DAAP_CONNECTION or derived.

k :

a DAAPConnectionClass

DAAP_CONNECTION_GET_CLASS()

#define DAAP_CONNECTION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_DAAP_CONNECTION, DAAPConnectionClass))

Get the class structure associated to a DAAPConnection instance.

o :

a DAAPConnection instance.

DAAPConnectionPrivate

typedef struct _DAAPConnectionPrivate DAAPConnectionPrivate;


DAAPConnection

typedef struct _DAAPConnection DAAPConnection;


daap_connection_get_type ()

GType               daap_connection_get_type            (void);

Returns :


daap_connection_new ()

DAAPConnection *    daap_connection_new                 (const gchar *name,
                                                         const gchar *host,
                                                         gint port,
                                                         gboolean password_protected,
                                                         DMAPDb *db,
                                                         DMAPRecordFactory *factory);

name :

host :

port :

password_protected :

db :

factory :

Returns :