|  |  |  | libempathy Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
                    EmpathyTpContactFactory;
void                (*EmpathyTpContactFactoryContactsByIdCb)
                                                        (EmpathyTpContactFactory *factory,
                                                         guint n_contacts,
                                                         EmpathyContact * const *contacts,
                                                         const gchar * const *requested_ids,
                                                         GHashTable *failed_id_errors,
                                                         const GError *error,
                                                         gpointer user_data,
                                                         GObject *weak_object);
void                (*EmpathyTpContactFactoryContactsByHandleCb)
                                                        (EmpathyTpContactFactory *factory,
                                                         guint n_contacts,
                                                         EmpathyContact * const *contacts,
                                                         guint n_failed,
                                                         const TpHandle *failed,
                                                         const GError *error,
                                                         gpointer user_data,
                                                         GObject *weak_object);
void                (*EmpathyTpContactFactoryContactCb) (EmpathyTpContactFactory *factory,
                                                         EmpathyContact *contact,
                                                         const GError *error,
                                                         gpointer user_data,
                                                         GObject *weak_object);
EmpathyTpContactFactory * empathy_tp_contact_factory_dup_singleton
                                                        (TpConnection *connection);
void                empathy_tp_contact_factory_get_from_ids
                                                        (EmpathyTpContactFactory *tp_factory,
                                                         guint n_ids,
                                                         const gchar * const *ids,
                                                         EmpathyTpContactFactoryContactsByIdCb callback,
                                                         gpointer user_data,
                                                         GDestroyNotify destroy,
                                                         GObject *weak_object);
void                empathy_tp_contact_factory_get_from_handles
                                                        (EmpathyTpContactFactory *tp_factory,
                                                         guint n_handles,
                                                         const TpHandle *handles,
                                                         EmpathyTpContactFactoryContactsByHandleCb callback,
                                                         gpointer user_data,
                                                         GDestroyNotify destroy,
                                                         GObject *weak_object);
void                empathy_tp_contact_factory_get_from_id
                                                        (EmpathyTpContactFactory *tp_factory,
                                                         const gchar *id,
                                                         EmpathyTpContactFactoryContactCb callback,
                                                         gpointer user_data,
                                                         GDestroyNotify destroy,
                                                         GObject *weak_object);
void                empathy_tp_contact_factory_get_from_handle
                                                        (EmpathyTpContactFactory *tp_factory,
                                                         TpHandle handle,
                                                         EmpathyTpContactFactoryContactCb callback,
                                                         gpointer user_data,
                                                         GDestroyNotify destroy,
                                                         GObject *weak_object);
void                empathy_tp_contact_factory_set_alias
                                                        (EmpathyTpContactFactory *tp_factory,
                                                         EmpathyContact *contact,
                                                         const gchar *alias);
void                empathy_tp_contact_factory_set_avatar
                                                        (EmpathyTpContactFactory *tp_factory,
                                                         const gchar *data,
                                                         gsize size,
                                                         const gchar *mime_type);
"avatar-max-height" guint : Read "avatar-max-size" guint : Read "avatar-max-width" guint : Read "avatar-mime-types" GStrv* : Read "avatar-min-height" guint : Read "avatar-min-width" guint : Read "connection" TpConnection* : Read / Write / Construct Only
void                (*EmpathyTpContactFactoryContactsByIdCb)
                                                        (EmpathyTpContactFactory *factory,
                                                         guint n_contacts,
                                                         EmpathyContact * const *contacts,
                                                         const gchar * const *requested_ids,
                                                         GHashTable *failed_id_errors,
                                                         const GError *error,
                                                         gpointer user_data,
                                                         GObject *weak_object);
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | 
void                (*EmpathyTpContactFactoryContactsByHandleCb)
                                                        (EmpathyTpContactFactory *factory,
                                                         guint n_contacts,
                                                         EmpathyContact * const *contacts,
                                                         guint n_failed,
                                                         const TpHandle *failed,
                                                         const GError *error,
                                                         gpointer user_data,
                                                         GObject *weak_object);
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | 
void (*EmpathyTpContactFactoryContactCb) (EmpathyTpContactFactory *factory, EmpathyContact *contact, const GError *error, gpointer user_data, GObject *weak_object);
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | 
EmpathyTpContactFactory * empathy_tp_contact_factory_dup_singleton (TpConnection *connection);
| 
 | |
| Returns : | 
void                empathy_tp_contact_factory_get_from_ids
                                                        (EmpathyTpContactFactory *tp_factory,
                                                         guint n_ids,
                                                         const gchar * const *ids,
                                                         EmpathyTpContactFactoryContactsByIdCb callback,
                                                         gpointer user_data,
                                                         GDestroyNotify destroy,
                                                         GObject *weak_object);
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | 
void                empathy_tp_contact_factory_get_from_handles
                                                        (EmpathyTpContactFactory *tp_factory,
                                                         guint n_handles,
                                                         const TpHandle *handles,
                                                         EmpathyTpContactFactoryContactsByHandleCb callback,
                                                         gpointer user_data,
                                                         GDestroyNotify destroy,
                                                         GObject *weak_object);
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | 
void                empathy_tp_contact_factory_get_from_id
                                                        (EmpathyTpContactFactory *tp_factory,
                                                         const gchar *id,
                                                         EmpathyTpContactFactoryContactCb callback,
                                                         gpointer user_data,
                                                         GDestroyNotify destroy,
                                                         GObject *weak_object);
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | 
void                empathy_tp_contact_factory_get_from_handle
                                                        (EmpathyTpContactFactory *tp_factory,
                                                         TpHandle handle,
                                                         EmpathyTpContactFactoryContactCb callback,
                                                         gpointer user_data,
                                                         GDestroyNotify destroy,
                                                         GObject *weak_object);
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | 
void                empathy_tp_contact_factory_set_alias
                                                        (EmpathyTpContactFactory *tp_factory,
                                                         EmpathyContact *contact,
                                                         const gchar *alias);
| 
 | |
| 
 | |
| 
 | 
void                empathy_tp_contact_factory_set_avatar
                                                        (EmpathyTpContactFactory *tp_factory,
                                                         const gchar *data,
                                                         gsize size,
                                                         const gchar *mime_type);
| 
 | |
| 
 | |
| 
 | |
| 
 | 
"avatar-max-height" property"avatar-max-height" guint : Read
Maximum height of avatar that may be set or 0 if there is no maximum.
Default value: 0
"avatar-max-size" property"avatar-max-size" guint : Read
Maximum file size of avatar that may be set or 0 if there is no maximum.
Default value: 0
"avatar-max-width" property"avatar-max-width" guint : Read
Maximum width of avatar that may be set or 0 if there is no maximum.
Default value: 0
"avatar-mime-types" property"avatar-mime-types" GStrv* : Read
Types of images that may be set as avatars on this connection.
"avatar-min-height" property"avatar-min-height" guint : Read
Minimum height of avatar that may be set.
Default value: 0
"avatar-min-width" property"avatar-min-width" guint : Read
Minimum width of avatar that may be set.
Default value: 0
"connection" property"connection" TpConnection* : Read / Write / Construct Only
The connection associated with the factory.