]> git.0d.be Git - empathy.git/blobdiff - python/pyempathy/pyempathy.defs
Remove EmpathyPresence object and have "presence" and "presence-message" properties...
[empathy.git] / python / pyempathy / pyempathy.defs
index eea0b76d3b37731734474429b18a0304d559b465..7f7381fa7a3c4bc69529793c0fb2bcde537bfaa2 100644 (file)
@@ -1,12 +1,4 @@
 ;; -*- scheme -*-
-; interfaces
-
-(define-interface ContactList
-  (in-module "Empathy")
-  (c-name "EmpathyContactList")
-  (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
-)
-
 ; object definitions ...
 (define-object Chandler
   (in-module "Empathy")
   (gtype-id "EMPATHY_TYPE_CHATROOM_MANAGER")
 )
 
-(define-object Conf
+(define-object Contact
   (in-module "Empathy")
   (parent "GObject")
-  (c-name "EmpathyConf")
-  (gtype-id "EMPATHY_TYPE_CONF")
+  (c-name "EmpathyContact")
+  (gtype-id "EMPATHY_TYPE_CONTACT")
 )
 
-(define-object Contact
+(define-object ContactFactory
   (in-module "Empathy")
   (parent "GObject")
-  (c-name "EmpathyContact")
-  (gtype-id "EMPATHY_TYPE_CONTACT")
+  (c-name "EmpathyContactFactory")
+  (gtype-id "EMPATHY_TYPE_CONTACT_FACTORY")
+)
+
+(define-interface ContactList
+  (in-module "Empathy")
+  (c-name "EmpathyContactList")
+  (gtype-id "EMPATHY_TYPE_CONTACT_LIST")
 )
 
 (define-object ContactManager
   (in-module "Empathy")
   (parent "GObject")
+  (implements "EmpathyContactList")
   (c-name "EmpathyContactManager")
   (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
-  (implements "EmpathyContactList")
 )
 
 (define-object Filter
   (gtype-id "EMPATHY_TYPE_MESSAGE")
 )
 
-(define-object Presence
+(define-object TpCall
   (in-module "Empathy")
   (parent "GObject")
-  (c-name "EmpathyPresence")
-  (gtype-id "EMPATHY_TYPE_PRESENCE")
+  (c-name "EmpathyTpCall")
+  (gtype-id "EMPATHY_TYPE_TP_CALL")
 )
 
 (define-object TpChat
 (define-object TpChatroom
   (in-module "Empathy")
   (parent "EmpathyTpChat")
+  (implements "EmpathyContactList")
   (c-name "EmpathyTpChatroom")
   (gtype-id "EMPATHY_TYPE_TP_CHATROOM")
-  (implements "EmpathyContactList")
+)
+
+(define-object TpContactFactory
+  (in-module "Empathy")
+  (parent "GObject")
+  (c-name "EmpathyTpContactFactory")
+  (gtype-id "EMPATHY_TYPE_TP_CONTACT_FACTORY")
 )
 
 (define-object TpContactList
   (in-module "Empathy")
   (parent "GObject")
+  (implements "EmpathyContactList")
   (c-name "EmpathyTpContactList")
   (gtype-id "EMPATHY_TYPE_TP_CONTACT_LIST")
-  (implements "EmpathyContactList")
 )
 
 (define-object TpGroup
   (gtype-id "EMPATHY_TYPE_TP_GROUP")
 )
 
+(define-object TpRoomlist
+  (in-module "Empathy")
+  (parent "GObject")
+  (c-name "EmpathyTpRoomlist")
+  (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
+)
+
 ;; Enumerations and flags ...
 
-(define-flags Subscription
+(define-flags Capabilities
   (in-module "Empathy")
-  (c-name "EmpathySubscription")
-  (gtype-id "EMPATHY_TYPE_SUBSCRIPTION")
+  (c-name "EmpathyCapabilities")
+  (gtype-id "EMPATHY_TYPE_CAPABILITIES")
   (values
-    '("none" "EMPATHY_SUBSCRIPTION_NONE")
-    '("to" "EMPATHY_SUBSCRIPTION_TO")
-    '("from" "EMPATHY_SUBSCRIPTION_FROM")
-    '("both" "EMPATHY_SUBSCRIPTION_BOTH")
+    '("audio" "EMPATHY_CAPABILITIES_AUDIO")
+    '("video" "EMPATHY_CAPABILITIES_VIDEO")
   )
 )
 
   )
 )
 
+(define-enum TpCallStatus
+  (in-module "Empathy")
+  (c-name "EmpathyTpCallStatus")
+  (gtype-id "EMPATHY_TYPE_TP_CALL_STATUS")
+  (values
+    '("preparing" "EMPATHY_TP_CALL_STATUS_PREPARING")
+    '("ringing" "EMPATHY_TP_CALL_STATUS_RINGING")
+    '("running" "EMPATHY_TP_CALL_STATUS_RUNNING")
+  )
+)
+
 (define-enum RegExType
   (in-module "Empathy")
   (c-name "EmpathyRegExType")
 
 ;; From empathy-avatar.h
 
-(define-function empathy_avatar_get_gtype
-  (c-name "empathy_avatar_get_gtype")
+(define-function empathy_avatar_get_type
+  (c-name "empathy_avatar_get_type")
   (return-type "GType")
 )
 
   (is-constructor-of "EmpathyAvatar")
   (return-type "EmpathyAvatar*")
   (parameters
-    '("guchar*" "avatar")
-    '("gsize" "len")
-    '("gchar*" "format")
+    '("const-guchar*" "avatar")
+    '("const-gsize" "len")
+    '("const-gchar*" "format")
+    '("const-gchar*" "token")
+  )
+)
+
+(define-function empathy_avatar_new_from_cache
+  (c-name "empathy_avatar_new_from_cache")
+  (return-type "EmpathyAvatar*")
+  (parameters
+    '("const-gchar*" "token")
   )
 )
 
 
 
 
-;; From empathy-chandler-glue.h
-
-(define-function dbus_glib_marshal_empathy_chandler_BOOLEAN__STRING_BOXED_STRING_BOXED_UINT_UINT_POINTER
-  (c-name "dbus_glib_marshal_empathy_chandler_BOOLEAN__STRING_BOXED_STRING_BOXED_UINT_UINT_POINTER")
-  (return-type "none")
-  (parameters
-    '("GClosure*" "closure")
-    '("GValue*" "return_value")
-    '("guint" "n_param_values")
-    '("const-GValue*" "param_values")
-    '("gpointer" "invocation_hint")
-    '("gpointer" "marshal_data")
-  )
-)
-
-
-
 ;; From empathy-chandler.h
 
 (define-function empathy_chandler_get_type
 
 
 
-;; From empathy-chatroom-manager.h
-
-(define-function empathy_chatroom_manager_get_type
-  (c-name "empathy_chatroom_manager_get_type")
-  (return-type "GType")
-)
-
-(define-function empathy_chatroom_manager_new
-  (c-name "empathy_chatroom_manager_new")
-  (is-constructor-of "EmpathyChatroomManager")
-  (return-type "EmpathyChatroomManager*")
-)
-
-(define-method add
-  (of-object "EmpathyChatroomManager")
-  (c-name "empathy_chatroom_manager_add")
-  (return-type "gboolean")
-  (parameters
-    '("EmpathyChatroom*" "chatroom")
-  )
-)
-
-(define-method remove
-  (of-object "EmpathyChatroomManager")
-  (c-name "empathy_chatroom_manager_remove")
-  (return-type "none")
-  (parameters
-    '("EmpathyChatroom*" "chatroom")
-  )
-)
-
-(define-method find
-  (of-object "EmpathyChatroomManager")
-  (c-name "empathy_chatroom_manager_find")
-  (return-type "EmpathyChatroom*")
-  (parameters
-    '("McAccount*" "account")
-    '("const-gchar*" "room")
-  )
-)
-
-(define-method get_chatrooms
-  (of-object "EmpathyChatroomManager")
-  (c-name "empathy_chatroom_manager_get_chatrooms")
-  (return-type "GList*")
-  (parameters
-    '("McAccount*" "account")
-  )
-)
-
-(define-method get_count
-  (of-object "EmpathyChatroomManager")
-  (c-name "empathy_chatroom_manager_get_count")
-  (return-type "guint")
-  (parameters
-    '("McAccount*" "account")
-  )
-)
-
-(define-method store
-  (of-object "EmpathyChatroomManager")
-  (c-name "empathy_chatroom_manager_store")
-  (return-type "none")
-)
-
-
-
 ;; From empathy-chatroom.h
 
 (define-function empathy_chatroom_get_type
 
 
 
-;; From empathy-conf.h
+;; From empathy-chatroom-manager.h
 
-(define-function empathy_conf_get_type
-  (c-name "empathy_conf_get_type")
+(define-function empathy_chatroom_manager_get_type
+  (c-name "empathy_chatroom_manager_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_conf_get
-  (c-name "empathy_conf_get")
-  (return-type "EmpathyConf*")
-)
-
-(define-function empathy_conf_shutdown
-  (c-name "empathy_conf_shutdown")
-  (return-type "none")
-)
-
-(define-method notify_add
-  (of-object "EmpathyConf")
-  (c-name "empathy_conf_notify_add")
-  (return-type "guint")
-  (parameters
-    '("const-gchar*" "key")
-    '("EmpathyConfNotifyFunc" "func")
-    '("gpointer" "data")
-  )
-)
-
-(define-method notify_remove
-  (of-object "EmpathyConf")
-  (c-name "empathy_conf_notify_remove")
-  (return-type "gboolean")
-  (parameters
-    '("guint" "id")
-  )
-)
-
-(define-method set_int
-  (of-object "EmpathyConf")
-  (c-name "empathy_conf_set_int")
-  (return-type "gboolean")
-  (parameters
-    '("const-gchar*" "key")
-    '("gint" "value")
-  )
-)
-
-(define-method get_int
-  (of-object "EmpathyConf")
-  (c-name "empathy_conf_get_int")
-  (return-type "gboolean")
-  (parameters
-    '("const-gchar*" "key")
-    '("gint*" "value")
-  )
+(define-function empathy_chatroom_manager_new
+  (c-name "empathy_chatroom_manager_new")
+  (is-constructor-of "EmpathyChatroomManager")
+  (return-type "EmpathyChatroomManager*")
 )
 
-(define-method set_bool
-  (of-object "EmpathyConf")
-  (c-name "empathy_conf_set_bool")
+(define-method add
+  (of-object "EmpathyChatroomManager")
+  (c-name "empathy_chatroom_manager_add")
   (return-type "gboolean")
   (parameters
-    '("const-gchar*" "key")
-    '("gboolean" "value")
+    '("EmpathyChatroom*" "chatroom")
   )
 )
 
-(define-method get_bool
-  (of-object "EmpathyConf")
-  (c-name "empathy_conf_get_bool")
-  (return-type "gboolean")
+(define-method remove
+  (of-object "EmpathyChatroomManager")
+  (c-name "empathy_chatroom_manager_remove")
+  (return-type "none")
   (parameters
-    '("const-gchar*" "key")
-    '("gboolean*" "value")
+    '("EmpathyChatroom*" "chatroom")
   )
 )
 
-(define-method set_string
-  (of-object "EmpathyConf")
-  (c-name "empathy_conf_set_string")
-  (return-type "gboolean")
+(define-method find
+  (of-object "EmpathyChatroomManager")
+  (c-name "empathy_chatroom_manager_find")
+  (return-type "EmpathyChatroom*")
   (parameters
-    '("const-gchar*" "key")
-    '("const-gchar*" "value")
+    '("McAccount*" "account")
+    '("const-gchar*" "room")
   )
 )
 
-(define-method get_string
-  (of-object "EmpathyConf")
-  (c-name "empathy_conf_get_string")
-  (return-type "gboolean")
+(define-method get_chatrooms
+  (of-object "EmpathyChatroomManager")
+  (c-name "empathy_chatroom_manager_get_chatrooms")
+  (return-type "GList*")
   (parameters
-    '("const-gchar*" "key")
-    '("gchar**" "value")
+    '("McAccount*" "account")
   )
 )
 
-(define-method set_string_list
-  (of-object "EmpathyConf")
-  (c-name "empathy_conf_set_string_list")
-  (return-type "gboolean")
+(define-method get_count
+  (of-object "EmpathyChatroomManager")
+  (c-name "empathy_chatroom_manager_get_count")
+  (return-type "guint")
   (parameters
-    '("const-gchar*" "key")
-    '("GSList*" "value")
+    '("McAccount*" "account")
   )
 )
 
-(define-method get_string_list
-  (of-object "EmpathyConf")
-  (c-name "empathy_conf_get_string_list")
-  (return-type "gboolean")
-  (parameters
-    '("const-gchar*" "key")
-    '("GSList**" "value")
-  )
+(define-method store
+  (of-object "EmpathyChatroomManager")
+  (c-name "empathy_chatroom_manager_store")
+  (return-type "none")
 )
 
 
 
-;; From empathy-contact-list.h
+;; From empathy-contact-factory.h
 
-(define-function contact_list_get_type
-  (c-name "empathy_contact_list_get_type")
+(define-function empathy_contact_factory_get_type
+  (c-name "empathy_contact_factory_get_type")
   (return-type "GType")
 )
 
-(define-method list_info_new
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_list_info_new")
-  (return-type "EmpathyContactListInfo*")
-  (parameters
-    '("const-gchar*" "message")
-  )
-)
-
-(define-method free
-  (of-object "EmpathyContactListInfo")
-  (c-name "empathy_contact_list_info_free")
-  (return-type "none")
+(define-function empathy_contact_factory_new
+  (c-name "empathy_contact_factory_new")
+  (is-constructor-of "EmpathyContactFactory")
+  (return-type "EmpathyContactFactory*")
 )
 
-(define-method setup
-  (of-object "EmpathyContactList")
-  (c-name "empathy_contact_list_setup")
-  (return-type "none")
-)
-
-(define-method find
-  (of-object "EmpathyContactList")
-  (c-name "empathy_contact_list_find")
+(define-method get_user
+  (of-object "EmpathyContactFactory")
+  (c-name "empathy_contact_factory_get_user")
   (return-type "EmpathyContact*")
   (parameters
-    '("const-gchar*" "id")
-  )
-)
-
-(define-method add
-  (of-object "EmpathyContactList")
-  (c-name "empathy_contact_list_add")
-  (return-type "none")
-  (parameters
-    '("EmpathyContact*" "contact")
-    '("const-gchar*" "message")
-  )
-)
-
-(define-method remove
-  (of-object "EmpathyContactList")
-  (c-name "empathy_contact_list_remove")
-  (return-type "none")
-  (parameters
-    '("EmpathyContact*" "contact")
-    '("const-gchar*" "message")
+    '("McAccount*" "account")
   )
 )
 
-(define-method get_members
-  (of-object "EmpathyContactList")
-  (c-name "empathy_contact_list_get_members")
-  (return-type "GList*")
-)
-
-(define-method get_local_pending
-  (of-object "EmpathyContactList")
-  (c-name "empathy_contact_list_get_local_pending")
-  (return-type "GList*")
-)
-
-(define-method process_pending
-  (of-object "EmpathyContactList")
-  (c-name "empathy_contact_list_process_pending")
-  (return-type "none")
+(define-method get_from_id
+  (of-object "EmpathyContactFactory")
+  (c-name "empathy_contact_factory_get_from_id")
+  (return-type "EmpathyContact*")
   (parameters
-    '("EmpathyContact*" "contact")
-    '("gboolean" "accept")
+    '("McAccount*" "account")
+    '("const-gchar*" "id")
   )
 )
 
-(define-virtual setup
-  (of-object "EmpathyContactList")
-  (return-type "none")
-)
-
-(define-virtual find
-  (of-object "EmpathyContactList")
+(define-method get_from_handle
+  (of-object "EmpathyContactFactory")
+  (c-name "empathy_contact_factory_get_from_handle")
   (return-type "EmpathyContact*")
   (parameters
-    '("const-gchar*" "id")
+    '("McAccount*" "account")
+    '("guint" "handle")
   )
 )
 
-(define-virtual add
-  (of-object "EmpathyContactList")
-  (return-type "none")
+(define-method get_from_handles
+  (of-object "EmpathyContactFactory")
+  (c-name "empathy_contact_factory_get_from_handles")
+  (return-type "GList*")
   (parameters
-    '("EmpathyContact*" "contact")
-    '("const-gchar*" "message")
+    '("McAccount*" "account")
+    '("GArray*" "handles")
   )
 )
 
-(define-virtual remove
-  (of-object "EmpathyContactList")
+(define-method set_alias
+  (of-object "EmpathyContactFactory")
+  (c-name "empathy_contact_factory_set_alias")
   (return-type "none")
   (parameters
     '("EmpathyContact*" "contact")
-    '("const-gchar*" "message")
+    '("const-gchar*" "alias")
   )
 )
 
-(define-virtual get_members
-  (of-object "EmpathyContactList")
-  (return-type "GList*")
-)
-
-(define-virtual get_local_pending
-  (of-object "EmpathyContactList")
-  (return-type "GList*")
-)
-
-(define-virtual process_pending
-  (of-object "EmpathyContactList")
+(define-method set_avatar
+  (of-object "EmpathyContactFactory")
+  (c-name "empathy_contact_factory_set_avatar")
   (return-type "none")
   (parameters
-    '("EmpathyContact*" "contact")
-    '("gboolean" "accept")
+    '("McAccount*" "account")
+    '("const-gchar*" "data")
+    '("gsize" "size")
+    '("const-gchar*" "mime_type")
   )
 )
 
-;; From empathy-contact-manager.h
 
-(define-function empathy_contact_manager_get_type
-  (c-name "empathy_contact_manager_get_type")
-  (return-type "GType")
-)
 
-(define-function empathy_contact_manager_new
-  (c-name "empathy_contact_manager_new")
-  (is-constructor-of "EmpathyContactManager")
-  (return-type "EmpathyContactManager*")
-)
+;; From empathy-contact-groups.h
 
-(define-method get_list
-  (of-object "EmpathyContactManager")
-  (c-name "empathy_contact_manager_get_list")
-  (return-type "EmpathyTpContactList*")
-  (parameters
-    '("McAccount*" "account")
-  )
-)
-
-(define-method get_user
-  (of-object "EmpathyContactManager")
-  (c-name "empathy_contact_manager_get_user")
-  (return-type "EmpathyContact*")
-  (parameters
-    '("McAccount*" "account")
-  )
+(define-function empathy_contact_groups_get_all
+  (c-name "empathy_contact_groups_get_all")
+  (return-type "none")
 )
 
-(define-method create
-  (of-object "EmpathyContactManager")
-  (c-name "empathy_contact_manager_create")
-  (return-type "EmpathyContact*")
+(define-function empathy_contact_group_get_expanded
+  (c-name "empathy_contact_group_get_expanded")
+  (return-type "gboolean")
   (parameters
-    '("McAccount*" "account")
-    '("const-gchar*" "id")
+    '("const-gchar*" "group")
   )
 )
 
-(define-method rename_group
-  (of-object "EmpathyContactManager")
-  (c-name "empathy_contact_manager_rename_group")
+(define-function empathy_contact_group_set_expanded
+  (c-name "empathy_contact_group_set_expanded")
   (return-type "none")
   (parameters
-    '("const-gchar*" "old_group")
-    '("const-gchar*" "new_group")
+    '("const-gchar*" "group")
+    '("gboolean" "expanded")
   )
 )
 
-(define-method get_groups
-  (of-object "EmpathyContactManager")
-  (c-name "empathy_contact_manager_get_groups")
-  (return-type "GList*")
-)
-
 
 
 ;; From empathy-contact.h
 
-(define-function empathy_contact_get_gtype
-  (c-name "empathy_contact_get_gtype")
+(define-function empathy_contact_get_type
+  (c-name "empathy_contact_get_type")
   (return-type "GType")
 )
 
   (return-type "const-gchar*")
 )
 
+(define-method set_id
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_set_id")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "id")
+  )
+)
+
 (define-method get_name
   (of-object "EmpathyContact")
   (c-name "empathy_contact_get_name")
   (return-type "const-gchar*")
 )
 
+(define-method set_name
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_set_name")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "name")
+  )
+)
+
 (define-method get_avatar
   (of-object "EmpathyContact")
   (c-name "empathy_contact_get_avatar")
   (return-type "EmpathyAvatar*")
 )
 
+(define-method set_avatar
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_set_avatar")
+  (return-type "none")
+  (parameters
+    '("EmpathyAvatar*" "avatar")
+  )
+)
+
 (define-method get_account
   (of-object "EmpathyContact")
   (c-name "empathy_contact_get_account")
   (return-type "McAccount*")
 )
 
+(define-method set_account
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_set_account")
+  (return-type "none")
+  (parameters
+    '("McAccount*" "account")
+  )
+)
+
 (define-method get_presence
   (of-object "EmpathyContact")
   (c-name "empathy_contact_get_presence")
-  (return-type "EmpathyPresence*")
+  (return-type "McPresence")
 )
 
-(define-method get_groups
+(define-method set_presence
   (of-object "EmpathyContact")
-  (c-name "empathy_contact_get_groups")
-  (return-type "GList*")
+  (c-name "empathy_contact_set_presence")
+  (return-type "none")
+  (parameters
+    '("McPresence" "presence")
+  )
 )
 
-(define-method get_subscription
+(define-method get_presence_message
   (of-object "EmpathyContact")
-  (c-name "empathy_contact_get_subscription")
-  (return-type "EmpathySubscription")
+  (c-name "empathy_contact_get_presence_message")
+  (return-type "const-gchar*")
+)
+
+(define-method set_presence_message
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_set_presence_message")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "message")
+  )
 )
 
 (define-method get_handle
   (return-type "guint")
 )
 
-(define-method is_user
+(define-method set_handle
   (of-object "EmpathyContact")
-  (c-name "empathy_contact_is_user")
-  (return-type "gboolean")
+  (c-name "empathy_contact_set_handle")
+  (return-type "none")
+  (parameters
+    '("guint" "handle")
+  )
 )
 
-(define-method set_id
+(define-method get_capabilities
   (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_id")
+  (c-name "empathy_contact_get_capabilities")
+  (return-type "EmpathyCapabilities")
+)
+
+(define-method set_capabilities
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_set_capabilities")
   (return-type "none")
   (parameters
-    '("const-gchar*" "id")
+    '("EmpathyCapabilities" "capabilities")
   )
 )
 
-(define-method set_name
+(define-method is_user
   (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_name")
+  (c-name "empathy_contact_is_user")
+  (return-type "gboolean")
+)
+
+(define-method set_is_user
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_set_is_user")
   (return-type "none")
   (parameters
-    '("const-gchar*" "name")
+    '("gboolean" "is_user")
   )
 )
 
-(define-method set_avatar
+(define-method is_online
   (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_avatar")
-  (return-type "none")
+  (c-name "empathy_contact_is_online")
+  (return-type "gboolean")
+)
+
+(define-method get_status
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_get_status")
+  (return-type "const-gchar*")
+)
+
+(define-method can_voip
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_can_voip")
+  (return-type "gboolean")
+)
+
+(define-function empathy_contact_equal
+  (c-name "empathy_contact_equal")
+  (return-type "gboolean")
   (parameters
-    '("EmpathyAvatar*" "avatar")
+    '("gconstpointer" "v1")
+    '("gconstpointer" "v2")
   )
 )
 
-(define-method set_account
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_account")
-  (return-type "none")
+(define-function empathy_contact_hash
+  (c-name "empathy_contact_hash")
+  (return-type "guint")
   (parameters
-    '("McAccount*" "account")
+    '("gconstpointer" "key")
   )
 )
 
-(define-method set_presence
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_presence")
+
+
+;; From empathy-contact-list.h
+
+(define-function empathy_contact_list_get_type
+  (c-name "empathy_contact_list_get_type")
+  (return-type "GType")
+)
+
+(define-method add
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_add")
   (return-type "none")
   (parameters
-    '("EmpathyPresence*" "presence")
+    '("EmpathyContact*" "contact")
+    '("const-gchar*" "message")
   )
 )
 
-(define-method set_groups
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_groups")
+(define-method remove
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_remove")
   (return-type "none")
   (parameters
-    '("GList*" "categories")
+    '("EmpathyContact*" "contact")
+    '("const-gchar*" "message")
   )
 )
 
-(define-method set_subscription
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_subscription")
-  (return-type "none")
+(define-method get_members
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_get_members")
+  (return-type "GList*")
+)
+
+(define-method get_pendings
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_get_pendings")
+  (return-type "GList*")
+)
+
+(define-method get_all_groups
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_get_all_groups")
+  (return-type "GList*")
+)
+
+(define-method get_groups
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_get_groups")
+  (return-type "GList*")
   (parameters
-    '("EmpathySubscription" "subscription")
+    '("EmpathyContact*" "contact")
   )
 )
 
-(define-method set_handle
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_handle")
+(define-method add_to_group
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_add_to_group")
   (return-type "none")
   (parameters
-    '("guint" "handle")
+    '("EmpathyContact*" "contact")
+    '("const-gchar*" "group")
   )
 )
 
-(define-method set_is_user
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_is_user")
+(define-method remove_from_group
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_remove_from_group")
   (return-type "none")
   (parameters
-    '("gboolean" "is_user")
+    '("EmpathyContact*" "contact")
+    '("const-gchar*" "group")
   )
 )
 
-(define-method add_group
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_add_group")
+(define-method rename_group
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_rename_group")
   (return-type "none")
   (parameters
-    '("const-gchar*" "group")
+    '("const-gchar*" "old_group")
+    '("const-gchar*" "new_group")
   )
 )
 
 (define-method remove_group
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_remove_group")
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_remove_group")
   (return-type "none")
   (parameters
     '("const-gchar*" "group")
   )
 )
 
-(define-method is_online
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_is_online")
-  (return-type "gboolean")
-)
 
-(define-method is_in_group
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_is_in_group")
-  (return-type "gboolean")
-  (parameters
-    '("const-gchar*" "group")
-  )
-)
 
-(define-method get_status
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_get_status")
-  (return-type "const-gchar*")
+;; From empathy-contact-manager.h
+
+(define-function empathy_contact_manager_get_type
+  (c-name "empathy_contact_manager_get_type")
+  (return-type "GType")
 )
 
-(define-function empathy_contact_equal
-  (c-name "empathy_contact_equal")
-  (return-type "gboolean")
-  (parameters
-    '("gconstpointer" "v1")
-    '("gconstpointer" "v2")
-  )
+(define-function empathy_contact_manager_new
+  (c-name "empathy_contact_manager_new")
+  (is-constructor-of "EmpathyContactManager")
+  (return-type "EmpathyContactManager*")
 )
 
-(define-function empathy_contact_hash
-  (c-name "empathy_contact_hash")
-  (return-type "guint")
+(define-method get_list
+  (of-object "EmpathyContactManager")
+  (c-name "empathy_contact_manager_get_list")
+  (return-type "EmpathyTpContactList*")
   (parameters
-    '("gconstpointer" "key")
+    '("McAccount*" "account")
   )
 )
 
   (varargs #t)
 )
 
-
-
-;; From empathy-filter-glue.h
-
-(define-function dbus_glib_marshal_empathy_filter_BOOLEAN__STRING_BOXED_STRING_BOXED_UINT_UINT_UINT_POINTER
-  (c-name "dbus_glib_marshal_empathy_filter_BOOLEAN__STRING_BOXED_STRING_BOXED_UINT_UINT_UINT_POINTER")
+(define-function empathy_debug_set_log_file_from_env
+  (c-name "empathy_debug_set_log_file_from_env")
   (return-type "none")
-  (parameters
-    '("GClosure*" "closure")
-    '("GValue*" "return_value")
-    '("guint" "n_param_values")
-    '("const-GValue*" "param_values")
-    '("gpointer" "invocation_hint")
-    '("gpointer" "marshal_data")
-  )
 )
 
 
   )
 )
 
+(define-method get_auto_away
+  (of-object "EmpathyIdle")
+  (c-name "empathy_idle_get_auto_away")
+  (return-type "gboolean")
+)
+
+(define-method set_auto_away
+  (of-object "EmpathyIdle")
+  (c-name "empathy_idle_set_auto_away")
+  (return-type "none")
+  (parameters
+    '("gboolean" "auto_away")
+  )
+)
+
+(define-method get_use_nm
+  (of-object "EmpathyIdle")
+  (c-name "empathy_idle_get_use_nm")
+  (return-type "gboolean")
+)
+
+(define-method set_use_nm
+  (of-object "EmpathyIdle")
+  (c-name "empathy_idle_set_use_nm")
+  (return-type "none")
+  (parameters
+    '("gboolean" "use_nm")
+  )
+)
+
 
 
 ;; From empathy-log-manager.h
   )
 )
 
+(define-method get_messages_for_file
+  (of-object "EmpathyLogManager")
+  (c-name "empathy_log_manager_get_messages_for_file")
+  (return-type "GList*")
+  (parameters
+    '("const-gchar*" "filename")
+  )
+)
+
 (define-method get_messages_for_date
   (of-object "EmpathyLogManager")
   (c-name "empathy_log_manager_get_messages_for_date")
   )
 )
 
+(define-method get_messages_for_file
+  (of-object "EmpathyLogManager")
+  (c-name "empathy_log_manager_get_messages_for_file")
+  (return-type "GList*")
+  (parameters
+    '("const-gchar*" "filename")
+  )
+)
+
 (define-method get_chats
   (of-object "EmpathyLogManager")
   (c-name "empathy_log_manager_get_chats")
 
 
 
-;; From empathy-marshal.h
-
-
-
 ;; From empathy-message.h
 
 (define-function empathy_message_get_gtype
 (define-method get_timestamp
   (of-object "EmpathyMessage")
   (c-name "empathy_message_get_timestamp")
-  (return-type "EmpathyTime")
+  (return-type "time_t")
+)
+
+(define-method set_timestamp
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_set_timestamp")
+  (return-type "none")
+  (parameters
+    '("time_t" "timestamp")
+  )
+)
+
+(define-method get_date_and_time
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_get_date_and_time")
+  (return-type "GDate*")
+  (parameters
+    '("time_t*" "timestamp")
+  )
+)
+
+(define-function empathy_message_type_from_str
+  (c-name "empathy_message_type_from_str")
+  (return-type "EmpathyMessageType")
+  (parameters
+    '("const-gchar*" "type_str")
+  )
+)
+
+(define-method to_str
+  (of-object "EmpathyMessageType")
+  (c-name "empathy_message_type_to_str")
+  (return-type "const-gchar*")
+)
+
+
+
+;; From empathy-status-presets.h
+
+(define-function empathy_status_presets_get_all
+  (c-name "empathy_status_presets_get_all")
+  (return-type "none")
+)
+
+(define-function empathy_status_presets_get
+  (c-name "empathy_status_presets_get")
+  (return-type "GList*")
+  (parameters
+    '("McPresence" "state")
+    '("gint" "max_number")
+  )
+)
+
+(define-function empathy_status_presets_set_last
+  (c-name "empathy_status_presets_set_last")
+  (return-type "none")
+  (parameters
+    '("McPresence" "state")
+    '("const-gchar*" "status")
+  )
+)
+
+(define-function empathy_status_presets_remove
+  (c-name "empathy_status_presets_remove")
+  (return-type "none")
+  (parameters
+    '("McPresence" "state")
+    '("const-gchar*" "status")
+  )
+)
+
+(define-function empathy_status_presets_reset
+  (c-name "empathy_status_presets_reset")
+  (return-type "none")
+)
+
+(define-function empathy_status_presets_get_default_state
+  (c-name "empathy_status_presets_get_default_state")
+  (return-type "McPresence")
+)
+
+(define-function empathy_status_presets_get_default_status
+  (c-name "empathy_status_presets_get_default_status")
+  (return-type "const-gchar*")
+)
+
+(define-function empathy_status_presets_set_default
+  (c-name "empathy_status_presets_set_default")
+  (return-type "none")
+  (parameters
+    '("McPresence" "state")
+    '("const-gchar*" "status")
+  )
+)
+
+(define-function empathy_status_presets_clear_default
+  (c-name "empathy_status_presets_clear_default")
+  (return-type "none")
+)
+
+
+
+;; From empathy-time.h
+
+(define-function empathy_time_get_current
+  (c-name "empathy_time_get_current")
+  (return-type "time_t")
+)
+
+(define-function empathy_time_get_local_time
+  (c-name "empathy_time_get_local_time")
+  (return-type "time_t")
+  (parameters
+    '("struct-tm*" "tm")
+  )
+)
+
+(define-function empathy_time_parse
+  (c-name "empathy_time_parse")
+  (return-type "time_t")
+  (parameters
+    '("const-gchar*" "str")
+  )
+)
+
+(define-function empathy_time_to_string_utc
+  (c-name "empathy_time_to_string_utc")
+  (return-type "gchar*")
+  (parameters
+    '("time_t" "t")
+    '("const-gchar*" "format")
+  )
 )
 
-(define-method set_timestamp
-  (of-object "EmpathyMessage")
-  (c-name "empathy_message_set_timestamp")
-  (return-type "none")
+(define-function empathy_time_to_string_local
+  (c-name "empathy_time_to_string_local")
+  (return-type "gchar*")
   (parameters
-    '("EmpathyTime" "timestamp")
+    '("time_t" "t")
+    '("const-gchar*" "format")
   )
 )
 
 
 
-;; From empathy-presence.h
+;; From empathy-tp-call.h
 
-(define-function empathy_presence_get_type
-  (c-name "empathy_presence_get_type")
+(define-function empathy_tp_call_get_type
+  (c-name "empathy_tp_call_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_presence_new
-  (c-name "empathy_presence_new")
-  (is-constructor-of "EmpathyPresence")
-  (return-type "EmpathyPresence*")
-)
-
-(define-function empathy_presence_new_full
-  (c-name "empathy_presence_new_full")
-  (return-type "EmpathyPresence*")
+(define-function empathy_tp_call_new
+  (c-name "empathy_tp_call_new")
+  (is-constructor-of "EmpathyTpCall")
+  (return-type "EmpathyTpCall*")
   (parameters
-    '("McPresence" "state")
-    '("const-gchar*" "status")
+    '("McAccount*" "account")
+    '("TpChan*" "tp_chan")
   )
 )
 
-(define-method get_state
-  (of-object "EmpathyPresence")
-  (c-name "empathy_presence_get_state")
-  (return-type "McPresence")
+(define-method is_incoming
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_is_incoming")
+  (return-type "gboolean")
 )
 
 (define-method get_status
-  (of-object "EmpathyPresence")
-  (c-name "empathy_presence_get_status")
-  (return-type "const-gchar*")
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_get_status")
+  (return-type "EmpathyTpCallStatus")
 )
 
-(define-method set_state
-  (of-object "EmpathyPresence")
-  (c-name "empathy_presence_set_state")
-  (return-type "none")
-  (parameters
-    '("McPresence" "state")
-  )
+(define-method get_contact
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_get_contact")
+  (return-type "EmpathyContact*")
 )
 
-(define-method set_status
-  (of-object "EmpathyPresence")
-  (c-name "empathy_presence_set_status")
+(define-method accept
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_accept")
   (return-type "none")
-  (parameters
-    '("const-gchar*" "status")
-  )
 )
 
-(define-function empathy_presence_sort_func
-  (c-name "empathy_presence_sort_func")
-  (return-type "gint")
+(define-method invite
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_invite")
+  (return-type "none")
   (parameters
-    '("gconstpointer" "a")
-    '("gconstpointer" "b")
+    '("EmpathyContact*" "contact")
   )
 )
 
-(define-function empathy_presence_state_get_default_status
-  (c-name "empathy_presence_state_get_default_status")
-  (return-type "const-gchar*")
+(define-method request_streams
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_request_streams")
+  (return-type "none")
   (parameters
-    '("McPresence" "state")
+    '("gboolean" "audio")
+    '("gboolean" "video")
   )
 )
 
-(define-function empathy_presence_state_to_str
-  (c-name "empathy_presence_state_to_str")
-  (return-type "const-gchar*")
+(define-method send_video
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_send_video")
+  (return-type "none")
   (parameters
-    '("McPresence" "state")
+    '("gboolean" "send")
   )
 )
 
-(define-function empathy_presence_state_from_str
-  (c-name "empathy_presence_state_from_str")
-  (return-type "McPresence")
+(define-method add_preview_window
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_add_preview_window")
+  (return-type "none")
   (parameters
-    '("const-gchar*" "str")
+    '("guint" "socket_id")
   )
 )
 
-
-
-;; From empathy-time.h
-
-(define-function empathy_time_get_current
-  (c-name "empathy_time_get_current")
-  (return-type "EmpathyTime")
-)
-
-(define-function empathy_time_get_local_time
-  (c-name "empathy_time_get_local_time")
-  (return-type "time_t")
+(define-method remove_preview_window
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_remove_preview_window")
+  (return-type "none")
   (parameters
-    '("struct-tm*" "tm")
+    '("guint" "socket_id")
   )
 )
 
-(define-function empathy_time_parse
-  (c-name "empathy_time_parse")
-  (return-type "EmpathyTime")
+(define-method set_output_window
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_set_output_window")
+  (return-type "none")
   (parameters
-    '("const-gchar*" "str")
+    '("guint" "socket_id")
   )
 )
 
-(define-function empathy_time_parse_format
-  (c-name "empathy_time_parse_format")
-  (return-type "EmpathyTime")
+(define-method set_output_volume
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_set_output_volume")
+  (return-type "none")
   (parameters
-    '("const-gchar*" "str")
-    '("const-gchar*" "format")
+    '("guint" "volume")
   )
 )
 
-(define-method to_string_utc
-  (of-object "EmpathyTime")
-  (c-name "empathy_time_to_string_utc")
-  (return-type "gchar*")
+(define-method mute_output
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_mute_output")
+  (return-type "none")
   (parameters
-    '("const-gchar*" "format")
+    '("gboolean" "is_muted")
   )
 )
 
-(define-method to_string_local
-  (of-object "EmpathyTime")
-  (c-name "empathy_time_to_string_local")
-  (return-type "gchar*")
+(define-method mute_input
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_mute_input")
+  (return-type "none")
   (parameters
-    '("const-gchar*" "format")
+    '("gboolean" "is_muted")
   )
 )
 
   )
 )
 
+(define-method get_account
+  (of-object "EmpathyTpChat")
+  (c-name "empathy_tp_chat_get_account")
+  (return-type "McAccount*")
+)
+
 (define-method get_channel
   (of-object "EmpathyTpChat")
   (c-name "empathy_tp_chat_get_channel")
   (c-name "empathy_tp_chat_set_state")
   (return-type "none")
   (parameters
-    '("TelepathyChannelChatState" "state")
+    '("TpChannelChatState" "state")
   )
 )
 
 
 
 
-;; From empathy-tp-contact-list.h
+;; From empathy-tp-contact-factory.h
 
-(define-function empathy_tp_contact_list_get_type
-  (c-name "empathy_tp_contact_list_get_type")
+(define-function empathy_tp_contact_factory_get_type
+  (c-name "empathy_tp_contact_factory_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_tp_contact_list_new
-  (c-name "empathy_tp_contact_list_new")
-  (is-constructor-of "EmpathyTpContactList")
-  (return-type "EmpathyTpContactList*")
+(define-function empathy_tp_contact_factory_new
+  (c-name "empathy_tp_contact_factory_new")
+  (is-constructor-of "EmpathyTpContactFactory")
+  (return-type "EmpathyTpContactFactory*")
   (parameters
     '("McAccount*" "account")
   )
 )
 
-(define-method get_account
-  (of-object "EmpathyTpContactList")
-  (c-name "empathy_tp_contact_list_get_account")
-  (return-type "McAccount*")
-)
-
 (define-method get_user
-  (of-object "EmpathyTpContactList")
-  (c-name "empathy_tp_contact_list_get_user")
+  (of-object "EmpathyTpContactFactory")
+  (c-name "empathy_tp_contact_factory_get_user")
   (return-type "EmpathyContact*")
 )
 
 (define-method get_from_id
-  (of-object "EmpathyTpContactList")
-  (c-name "empathy_tp_contact_list_get_from_id")
+  (of-object "EmpathyTpContactFactory")
+  (c-name "empathy_tp_contact_factory_get_from_id")
   (return-type "EmpathyContact*")
   (parameters
     '("const-gchar*" "id")
 )
 
 (define-method get_from_handle
-  (of-object "EmpathyTpContactList")
-  (c-name "empathy_tp_contact_list_get_from_handle")
+  (of-object "EmpathyTpContactFactory")
+  (c-name "empathy_tp_contact_factory_get_from_handle")
   (return-type "EmpathyContact*")
   (parameters
     '("guint" "handle")
 )
 
 (define-method get_from_handles
-  (of-object "EmpathyTpContactList")
-  (c-name "empathy_tp_contact_list_get_from_handles")
+  (of-object "EmpathyTpContactFactory")
+  (c-name "empathy_tp_contact_factory_get_from_handles")
   (return-type "GList*")
   (parameters
     '("GArray*" "handles")
   )
 )
 
-(define-method rename_group
-  (of-object "EmpathyTpContactList")
-  (c-name "empathy_tp_contact_list_rename_group")
+(define-method set_alias
+  (of-object "EmpathyTpContactFactory")
+  (c-name "empathy_tp_contact_factory_set_alias")
   (return-type "none")
   (parameters
-    '("const-gchar*" "old_group")
-    '("const-gchar*" "new_group")
+    '("EmpathyContact*" "contact")
+    '("const-gchar*" "alias")
   )
 )
 
-(define-method get_groups
+(define-method set_avatar
+  (of-object "EmpathyTpContactFactory")
+  (c-name "empathy_tp_contact_factory_set_avatar")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "data")
+    '("gsize" "size")
+    '("const-gchar*" "mime_type")
+  )
+)
+
+
+
+;; From empathy-tp-contact-list.h
+
+(define-function empathy_tp_contact_list_get_type
+  (c-name "empathy_tp_contact_list_get_type")
+  (return-type "GType")
+)
+
+(define-function empathy_tp_contact_list_new
+  (c-name "empathy_tp_contact_list_new")
+  (is-constructor-of "EmpathyTpContactList")
+  (return-type "EmpathyTpContactList*")
+  (parameters
+    '("McAccount*" "account")
+  )
+)
+
+(define-method get_account
   (of-object "EmpathyTpContactList")
-  (c-name "empathy_tp_contact_list_get_groups")
-  (return-type "GList*")
+  (c-name "empathy_tp_contact_list_get_account")
+  (return-type "McAccount*")
 )
 
 
   (is-constructor-of "EmpathyTpGroup")
   (return-type "EmpathyTpGroup*")
   (parameters
+    '("McAccount*" "account")
     '("TpChan*" "tp_chan")
-    '("TpConn*" "tp_conn")
   )
 )
 
+(define-method close
+  (of-object "EmpathyTpGroup")
+  (c-name "empathy_tp_group_close")
+  (return-type "none")
+)
+
 (define-method add_members
   (of-object "EmpathyTpGroup")
   (c-name "empathy_tp_group_add_members")
   (return-type "none")
   (parameters
-    '("GArray*" "handles")
+    '("GList*" "contacts")
     '("const-gchar*" "message")
   )
 )
   (c-name "empathy_tp_group_add_member")
   (return-type "none")
   (parameters
-    '("guint" "handle")
+    '("EmpathyContact*" "contact")
     '("const-gchar*" "message")
   )
 )
   (c-name "empathy_tp_group_remove_members")
   (return-type "none")
   (parameters
-    '("GArray*" "handle")
+    '("GList*" "contacts")
     '("const-gchar*" "message")
   )
 )
   (c-name "empathy_tp_group_remove_member")
   (return-type "none")
   (parameters
-    '("guint" "handle")
+    '("EmpathyContact*" "contact")
     '("const-gchar*" "message")
   )
 )
 (define-method get_members
   (of-object "EmpathyTpGroup")
   (c-name "empathy_tp_group_get_members")
-  (return-type "GArray*")
+  (return-type "GList*")
 )
 
-(define-method get_all_members
+(define-method get_local_pendings
   (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_all_members")
-  (return-type "none")
-  (parameters
-    '("GArray**" "members")
-    '("GArray**" "local_pending")
-    '("GArray**" "remote_pending")
-  )
+  (c-name "empathy_tp_group_get_local_pendings")
+  (return-type "GList*")
 )
 
-(define-method get_local_pending_members_with_info
+(define-method get_remote_pendings
   (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_local_pending_members_with_info")
+  (c-name "empathy_tp_group_get_remote_pendings")
   (return-type "GList*")
 )
 
-(define-function empathy_tp_group_info_list_free
-  (c-name "empathy_tp_group_info_list_free")
-  (return-type "none")
-  (parameters
-    '("GList*" "infos")
-  )
-)
-
 (define-method get_name
   (of-object "EmpathyTpGroup")
   (c-name "empathy_tp_group_get_name")
   (return-type "const-gchar*")
 )
 
-(define-method get_self_handle
+(define-method get_self_contact
   (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_self_handle")
-  (return-type "guint")
+  (c-name "empathy_tp_group_get_self_contact")
+  (return-type "EmpathyContact*")
 )
 
 (define-method get_object_path
   (c-name "empathy_tp_group_is_member")
   (return-type "gboolean")
   (parameters
-    '("guint" "handle")
+    '("EmpathyContact*" "contact")
+  )
+)
+
+(define-function empathy_pending_info_new
+  (c-name "empathy_pending_info_new")
+  (is-constructor-of "EmpathyPendingInfo")
+  (return-type "EmpathyPendingInfo*")
+  (parameters
+    '("EmpathyContact*" "member")
+    '("EmpathyContact*" "actor")
+    '("const-gchar*" "message")
+  )
+)
+
+(define-method free
+  (of-object "EmpathyPendingInfo")
+  (c-name "empathy_pending_info_free")
+  (return-type "none")
+)
+
+
+
+;; From empathy-tp-roomlist.h
+
+(define-function empathy_tp_roomlist_get_type
+  (c-name "empathy_tp_roomlist_get_type")
+  (return-type "GType")
+)
+
+(define-function empathy_tp_roomlist_new
+  (c-name "empathy_tp_roomlist_new")
+  (is-constructor-of "EmpathyTpRoomlist")
+  (return-type "EmpathyTpRoomlist*")
+  (parameters
+    '("McAccount*" "account")
   )
 )
 
+(define-method is_listing
+  (of-object "EmpathyTpRoomlist")
+  (c-name "empathy_tp_roomlist_is_listing")
+  (return-type "gboolean")
+)
+
+(define-method start
+  (of-object "EmpathyTpRoomlist")
+  (c-name "empathy_tp_roomlist_start")
+  (return-type "none")
+)
+
+(define-method stop
+  (of-object "EmpathyTpRoomlist")
+  (c-name "empathy_tp_roomlist_stop")
+  (return-type "none")
+)
+
 
 
 ;; From empathy-utils.h
   (return-type "MissionControl*")
 )
 
-(define-function empathy_get_channel_id
-  (c-name "empathy_get_channel_id")
+(define-function empathy_inspect_handle
+  (c-name "empathy_inspect_handle")
+  (return-type "gchar*")
+  (parameters
+    '("McAccount*" "account")
+    '("guint" "handle")
+    '("guint" "handle_type")
+  )
+)
+
+(define-function empathy_inspect_channel
+  (c-name "empathy_inspect_channel")
   (return-type "gchar*")
   (parameters
     '("McAccount*" "account")
   )
 )
 
+(define-function empathy_call_contact
+  (c-name "empathy_call_contact")
+  (return-type "none")
+  (parameters
+    '("EmpathyContact*" "contact")
+  )
+)
+
+(define-function empathy_chat_with_contact
+  (c-name "empathy_chat_with_contact")
+  (return-type "none")
+  (parameters
+    '("EmpathyContact*" "contact")
+  )
+)
+
+(define-function empathy_chat_with_contact_id
+  (c-name "empathy_chat_with_contact_id")
+  (return-type "none")
+  (parameters
+    '("McAccount*" "account")
+    '("const-gchar*" "contact_id")
+  )
+)
+
+(define-function empathy_presence_get_default_message
+  (c-name "empathy_presence_get_default_message")
+  (return-type "const-gchar*")
+  (parameters
+    '("McPresence" "presence")
+  )
+)
+
+(define-function empathy_presence_to_str
+  (c-name "empathy_presence_to_str")
+  (return-type "const-gchar*")
+  (parameters
+    '("McPresence" "presence")
+  )
+)
+
+(define-function empathy_presence_from_str
+  (c-name "empathy_presence_from_str")
+  (return-type "McPresence")
+  (parameters
+    '("const-gchar*" "str")
+  )
+)
+
+
+
+;; From tp-stream-engine-gen.h
+
+(define-function dbus_g_proxy_begin_call
+  (c-name "dbus_g_proxy_begin_call")
+  (return-type "return")
+  (parameters
+  )
+)
+
+(define-function dbus_g_proxy_begin_call
+  (c-name "dbus_g_proxy_begin_call")
+  (return-type "return")
+  (parameters
+  )
+)
+
+(define-function dbus_g_proxy_begin_call
+  (c-name "dbus_g_proxy_begin_call")
+  (return-type "return")
+  (parameters
+  )
+)
+
+(define-function dbus_g_proxy_begin_call
+  (c-name "dbus_g_proxy_begin_call")
+  (return-type "return")
+  (parameters
+  )
+)
+
+(define-function dbus_g_proxy_begin_call
+  (c-name "dbus_g_proxy_begin_call")
+  (return-type "return")
+  (parameters
+  )
+)
+
+(define-function dbus_g_proxy_begin_call
+  (c-name "dbus_g_proxy_begin_call")
+  (return-type "return")
+  (parameters
+  )
+)
+
+(define-function dbus_g_proxy_begin_call
+  (c-name "dbus_g_proxy_begin_call")
+  (return-type "return")
+  (parameters
+  )
+)
+
+(define-function dbus_g_proxy_begin_call
+  (c-name "dbus_g_proxy_begin_call")
+  (return-type "return")
+  (parameters
+  )
+)
+
+