]> git.0d.be Git - empathy.git/blobdiff - python/pyempathy/pyempathy.defs
Update python binding
[empathy.git] / python / pyempathy / pyempathy.defs
index d75155c4c92f6deb4f17c9c19db065c13bf97c0c..bf3f25590b84cf993696e5ab17d3d8c758352669 100644 (file)
@@ -1,12 +1,5 @@
 ;; -*- scheme -*-
 ; object definitions ...
-(define-object Chandler
-  (in-module "Empathy")
-  (parent "GObject")
-  (c-name "EmpathyChandler")
-  (gtype-id "EMPATHY_TYPE_CHANDLER")
-)
-
 (define-object Chatroom
   (in-module "Empathy")
   (parent "GObject")
   (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
 )
 
-(define-object Filter
+(define-object Dispatcher
   (in-module "Empathy")
   (parent "GObject")
-  (c-name "EmpathyFilter")
-  (gtype-id "EMPATHY_TYPE_FILTER")
+  (c-name "EmpathyDispatcher")
+  (gtype-id "EMPATHY_TYPE_DISPATCHER")
 )
 
 (define-object Idle
   (gtype-id "EMPATHY_TYPE_TP_CHAT")
 )
 
-(define-object TpChatroom
-  (in-module "Empathy")
-  (parent "EmpathyTpChat")
-  (implements "EmpathyContactList")
-  (c-name "EmpathyTpChatroom")
-  (gtype-id "EMPATHY_TYPE_TP_CHATROOM")
-)
-
 (define-object TpContactFactory
   (in-module "Empathy")
   (parent "GObject")
   (gtype-id "EMPATHY_TYPE_TP_ROOMLIST")
 )
 
+(define-object TpTube
+  (in-module "Empathy")
+  (parent "GObject")
+  (c-name "EmpathyTpTube")
+  (gtype-id "EMPATHY_TYPE_TP_TUBE")
+)
+
+(define-object TubeHandler
+  (in-module "Empathy")
+  (parent "GObject")
+  (c-name "EmpathyTubeHandler")
+  (gtype-id "EMPATHY_TYPE_TUBE_HANDLER")
+)
+
 ;; Enumerations and flags ...
 
+(define-flags DebugFlags
+  (in-module "Empathy")
+  (c-name "EmpathyDebugFlags")
+  (gtype-id "EMPATHY_TYPE_DEBUG_FLAGS")
+  (values
+    '("tp" "EMPATHY_DEBUG_TP")
+    '("chat" "EMPATHY_DEBUG_CHAT")
+    '("contact" "EMPATHY_DEBUG_CONTACT")
+    '("account" "EMPATHY_DEBUG_ACCOUNT")
+    '("irc" "EMPATHY_DEBUG_IRC")
+    '("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
+    '("other" "EMPATHY_DEBUG_OTHER")
+  )
+)
+
 (define-enum RegExType
   (in-module "Empathy")
   (c-name "EmpathyRegExType")
   (values
     '("as-is" "EMPATHY_REGEX_AS_IS")
     '("browser" "EMPATHY_REGEX_BROWSER")
+    '("apt" "EMPATHY_REGEX_APT")
     '("email" "EMPATHY_REGEX_EMAIL")
     '("other" "EMPATHY_REGEX_OTHER")
     '("all" "EMPATHY_REGEX_ALL")
   )
 )
 
-(define-enum MessageType
-  (in-module "Empathy")
-  (c-name "EmpathyMessageType")
-  (gtype-id "EMPATHY_TYPE_MESSAGE_TYPE")
-  (values
-    '("normal" "EMPATHY_MESSAGE_TYPE_NORMAL")
-    '("action" "EMPATHY_MESSAGE_TYPE_ACTION")
-    '("notice" "EMPATHY_MESSAGE_TYPE_NOTICE")
-    '("auto-reply" "EMPATHY_MESSAGE_TYPE_AUTO_REPLY")
-    '("last" "EMPATHY_MESSAGE_TYPE_LAST")
-  )
-)
-
 (define-flags Capabilities
   (in-module "Empathy")
   (c-name "EmpathyCapabilities")
 )
 
 
-;; From empathy-avatar.h
-
-(define-function empathy_avatar_get_type
-  (c-name "empathy_avatar_get_type")
-  (return-type "GType")
-)
-
-(define-function empathy_avatar_new
-  (c-name "empathy_avatar_new")
-  (is-constructor-of "EmpathyAvatar")
-  (return-type "EmpathyAvatar*")
-  (parameters
-    '("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")
-  )
-)
-
-(define-method ref
-  (of-object "EmpathyAvatar")
-  (c-name "empathy_avatar_ref")
-  (return-type "EmpathyAvatar*")
-)
-
-(define-method unref
-  (of-object "EmpathyAvatar")
-  (c-name "empathy_avatar_unref")
-  (return-type "none")
-)
-
-
-
 ;; From empathy-time.h
 
-(define-function empathy_time_get_current
+(define-function time_get_current
   (c-name "empathy_time_get_current")
   (return-type "time_t")
 )
 
-(define-function empathy_time_get_local_time
+(define-function time_get_local_time
   (c-name "empathy_time_get_local_time")
   (return-type "time_t")
   (parameters
   )
 )
 
-(define-function empathy_time_parse
+(define-function time_parse
   (c-name "empathy_time_parse")
   (return-type "time_t")
   (parameters
   )
 )
 
-(define-function empathy_time_to_string_utc
+(define-function time_to_string_utc
   (c-name "empathy_time_to_string_utc")
   (return-type "gchar*")
   (parameters
   )
 )
 
-(define-function empathy_time_to_string_local
+(define-function time_to_string_local
   (c-name "empathy_time_to_string_local")
   (return-type "gchar*")
   (parameters
 
 ;; From empathy-status-presets.h
 
-(define-function empathy_status_presets_get_all
+(define-function status_presets_get_all
   (c-name "empathy_status_presets_get_all")
   (return-type "none")
 )
 
-(define-function empathy_status_presets_get
+(define-function status_presets_get
   (c-name "empathy_status_presets_get")
   (return-type "GList*")
   (parameters
   )
 )
 
-(define-function empathy_status_presets_set_last
+(define-function status_presets_set_last
   (c-name "empathy_status_presets_set_last")
   (return-type "none")
   (parameters
   )
 )
 
-(define-function empathy_status_presets_remove
+(define-function status_presets_remove
   (c-name "empathy_status_presets_remove")
   (return-type "none")
   (parameters
   )
 )
 
-(define-function empathy_status_presets_reset
+(define-function status_presets_reset
   (c-name "empathy_status_presets_reset")
   (return-type "none")
 )
 
-(define-function empathy_status_presets_get_default_state
+(define-function status_presets_get_default_state
   (c-name "empathy_status_presets_get_default_state")
   (return-type "McPresence")
 )
 
-(define-function empathy_status_presets_get_default_status
+(define-function status_presets_get_default_status
   (c-name "empathy_status_presets_get_default_status")
   (return-type "const-gchar*")
 )
 
-(define-function empathy_status_presets_set_default
+(define-function status_presets_set_default
   (c-name "empathy_status_presets_set_default")
   (return-type "none")
   (parameters
   )
 )
 
-(define-function empathy_status_presets_clear_default
+(define-function status_presets_clear_default
   (c-name "empathy_status_presets_clear_default")
   (return-type "none")
 )
 
 ;; From empathy-debug.h
 
-(define-function empathy_debug_impl
-  (c-name "empathy_debug_impl")
+(define-function debug_flag_is_set
+  (c-name "empathy_debug_flag_is_set")
+  (return-type "gboolean")
+  (parameters
+    '("EmpathyDebugFlags" "flag")
+  )
+)
+
+(define-function debug
+  (c-name "empathy_debug")
   (return-type "none")
   (parameters
-    '("const-gchar*" "domain")
-    '("const-gchar*" "msg")
+    '("EmpathyDebugFlags" "flag")
+    '("const-gchar*" "format")
   )
   (varargs #t)
 )
 
-(define-function empathy_debug_set_log_file_from_env
-  (c-name "empathy_debug_set_log_file_from_env")
+(define-function debug_set_flags
+  (c-name "empathy_debug_set_flags")
   (return-type "none")
+  (parameters
+    '("const-gchar*" "flags_string")
+  )
 )
 
 
 
 ;; From empathy-utils.h
 
-(define-function empathy_substring
+(define-function substring
   (c-name "empathy_substring")
   (return-type "gchar*")
   (parameters
   )
 )
 
-(define-function empathy_regex_match
+(define-function regex_match
   (c-name "empathy_regex_match")
   (return-type "gint")
   (parameters
   )
 )
 
-(define-function empathy_strcasecmp
+(define-function strcasecmp
   (c-name "empathy_strcasecmp")
   (return-type "gint")
   (parameters
   )
 )
 
-(define-function empathy_strncasecmp
+(define-function strncasecmp
   (c-name "empathy_strncasecmp")
   (return-type "gint")
   (parameters
   )
 )
 
-(define-function empathy_xml_validate
+(define-function xml_validate
   (c-name "empathy_xml_validate")
   (return-type "gboolean")
   (parameters
   )
 )
 
-(define-function empathy_xml_node_get_child
+(define-function xml_node_get_child
   (c-name "empathy_xml_node_get_child")
   (return-type "xmlNodePtr")
   (parameters
   )
 )
 
-(define-function empathy_xml_node_get_child_content
+(define-function xml_node_get_child_content
   (c-name "empathy_xml_node_get_child_content")
   (return-type "xmlChar*")
   (parameters
   )
 )
 
-(define-function empathy_xml_node_find_child_prop_value
+(define-function xml_node_find_child_prop_value
   (c-name "empathy_xml_node_find_child_prop_value")
   (return-type "xmlNodePtr")
   (parameters
   )
 )
 
-(define-function empathy_account_hash
+(define-function account_hash
   (c-name "empathy_account_hash")
   (return-type "guint")
   (parameters
   )
 )
 
-(define-function empathy_account_equal
+(define-function account_equal
   (c-name "empathy_account_equal")
   (return-type "gboolean")
   (parameters
   )
 )
 
-(define-function empathy_mission_control_new
+(define-function mission_control_new
   (c-name "empathy_mission_control_new")
   (is-constructor-of "EmpathyMissionControl")
   (return-type "MissionControl*")
 )
 
-(define-function empathy_inspect_handle
-  (c-name "empathy_inspect_handle")
-  (return-type "gchar*")
+(define-function presence_get_default_message
+  (c-name "empathy_presence_get_default_message")
+  (return-type "const-gchar*")
   (parameters
-    '("McAccount*" "account")
-    '("guint" "handle")
-    '("guint" "handle_type")
+    '("McPresence" "presence")
+  )
+)
+
+(define-function presence_to_str
+  (c-name "empathy_presence_to_str")
+  (return-type "const-gchar*")
+  (parameters
+    '("McPresence" "presence")
+  )
+)
+
+(define-function presence_from_str
+  (c-name "empathy_presence_from_str")
+  (return-type "McPresence")
+  (parameters
+    '("const-gchar*" "str")
   )
 )
 
-(define-function empathy_inspect_channel
-  (c-name "empathy_inspect_channel")
+(define-function file_lookup
+  (c-name "empathy_file_lookup")
   (return-type "gchar*")
   (parameters
-    '("McAccount*" "account")
-    '("TpChan*" "tp_chan")
+    '("const-gchar*" "filename")
+    '("const-gchar*" "subdir")
   )
 )
 
-(define-function empathy_call_with_contact
-  (c-name "empathy_call_with_contact")
+(define-function run_until_ready
+  (c-name "empathy_run_until_ready")
   (return-type "none")
   (parameters
-    '("EmpathyContact*" "contact")
+    '("gpointer" "object")
   )
 )
 
-(define-function empathy_call_with_contact_id
-  (c-name "empathy_call_with_contact_id")
+(define-function run_until_ready_full
+  (c-name "empathy_run_until_ready_full")
   (return-type "none")
   (parameters
-    '("McAccount*" "account")
-    '("const-gchar*" "contact_id")
+    '("gpointer" "object")
+    '("const-gchar*" "signal")
+    '("EmpathyRunUntilReadyFunc" "func")
+    '("gpointer" "user_data")
+    '("GMainLoop**" "loop")
   )
 )
 
-(define-function empathy_chat_with_contact
-  (c-name "empathy_chat_with_contact")
-  (return-type "none")
+(define-function channel_get_account
+  (c-name "empathy_channel_get_account")
+  (return-type "McAccount*")
   (parameters
-    '("EmpathyContact*" "contact")
+    '("TpChannel*" "channel")
   )
 )
 
-(define-function empathy_chat_with_contact_id
-  (c-name "empathy_chat_with_contact_id")
-  (return-type "none")
+(define-function connect_to_account_status_changed
+  (c-name "empathy_connect_to_account_status_changed")
+  (return-type "gpointer")
   (parameters
-    '("McAccount*" "account")
-    '("const-gchar*" "contact_id")
+    '("MissionControl*" "mc")
+    '("GCallback" "handler")
+    '("gpointer" "user_data")
+    '("GClosureNotify" "free_func")
   )
 )
 
-(define-function empathy_presence_get_default_message
-  (c-name "empathy_presence_get_default_message")
-  (return-type "const-gchar*")
+(define-function disconnect_account_status_changed
+  (c-name "empathy_disconnect_account_status_changed")
+  (return-type "none")
   (parameters
-    '("McPresence" "presence")
+    '("gpointer" "token")
   )
 )
 
-(define-function empathy_presence_to_str
-  (c-name "empathy_presence_to_str")
-  (return-type "const-gchar*")
+(define-function proxy_equal
+  (c-name "empathy_proxy_equal")
+  (return-type "gboolean")
   (parameters
-    '("McPresence" "presence")
+    '("gconstpointer" "a")
+    '("gconstpointer" "b")
   )
 )
 
-(define-function empathy_presence_from_str
-  (c-name "empathy_presence_from_str")
-  (return-type "McPresence")
+(define-function proxy_hash
+  (c-name "empathy_proxy_hash")
+  (return-type "guint")
   (parameters
-    '("const-gchar*" "str")
+    '("gconstpointer" "key")
   )
 )
 
 
 ;; From empathy-message.h
 
-(define-function empathy_message_get_gtype
-  (c-name "empathy_message_get_gtype")
+(define-function message_get_type
+  (c-name "empathy_message_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_message_new
+(define-function message_new
   (c-name "empathy_message_new")
   (is-constructor-of "EmpathyMessage")
   (return-type "EmpathyMessage*")
   )
 )
 
-(define-method get_type
+(define-method get_tptype
   (of-object "EmpathyMessage")
-  (c-name "empathy_message_get_type")
-  (return-type "EmpathyMessageType")
+  (c-name "empathy_message_get_tptype")
+  (return-type "TpChannelTextMessageType")
 )
 
-(define-method set_type
+(define-method set_tptype
   (of-object "EmpathyMessage")
-  (c-name "empathy_message_set_type")
+  (c-name "empathy_message_set_tptype")
   (return-type "none")
   (parameters
-    '("EmpathyMessageType" "type")
+    '("TpChannelTextMessageType" "type")
   )
 )
 
   )
 )
 
-(define-function empathy_message_type_from_str
+(define-method should_highlight
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_should_highlight")
+  (return-type "gboolean")
+)
+
+(define-function message_type_from_str
   (c-name "empathy_message_type_from_str")
-  (return-type "EmpathyMessageType")
+  (return-type "TpChannelTextMessageType")
   (parameters
     '("const-gchar*" "type_str")
   )
 )
 
-(define-method to_str
-  (of-object "EmpathyMessageType")
+(define-function message_type_to_str
   (c-name "empathy_message_type_to_str")
   (return-type "const-gchar*")
+  (parameters
+    '("TpChannelTextMessageType" "type")
+  )
 )
 
 
 
 ;; From empathy-chatroom-manager.h
 
-(define-function empathy_chatroom_manager_get_type
+(define-function chatroom_manager_get_type
   (c-name "empathy_chatroom_manager_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_chatroom_manager_new
+(define-function chatroom_manager_new
   (c-name "empathy_chatroom_manager_new")
   (is-constructor-of "EmpathyChatroomManager")
   (return-type "EmpathyChatroomManager*")
 
 ;; From empathy-chatroom.h
 
-(define-function empathy_chatroom_get_type
+(define-function chatroom_get_type
   (c-name "empathy_chatroom_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_chatroom_new
+(define-function chatroom_new
   (c-name "empathy_chatroom_new")
   (is-constructor-of "EmpathyChatroom")
   (return-type "EmpathyChatroom*")
   (parameters
     '("McAccount*" "account")
-    '("const-gchar*" "room")
   )
 )
 
-(define-function empathy_chatroom_new_full
+(define-function chatroom_new_full
   (c-name "empathy_chatroom_new_full")
   (return-type "EmpathyChatroom*")
   (parameters
   )
 )
 
-(define-function empathy_chatroom_equal
+(define-function chatroom_equal
   (c-name "empathy_chatroom_equal")
   (return-type "gboolean")
   (parameters
 
 ;; From empathy-contact.h
 
-(define-function empathy_contact_get_type
+(define-function contact_get_type
   (c-name "empathy_contact_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_contact_new
+(define-function contact_new
   (c-name "empathy_contact_new")
   (is-constructor-of "EmpathyContact")
   (return-type "EmpathyContact*")
   )
 )
 
-(define-function empathy_contact_new_full
+(define-function contact_new_full
   (c-name "empathy_contact_new_full")
   (return-type "EmpathyContact*")
   (parameters
   (return-type "gboolean")
 )
 
-(define-function empathy_contact_equal
+(define-function contact_equal
   (c-name "empathy_contact_equal")
   (return-type "gboolean")
   (parameters
   )
 )
 
-(define-function empathy_contact_hash
+(define-function contact_hash
   (c-name "empathy_contact_hash")
   (return-type "guint")
   (parameters
   )
 )
 
+(define-method load_avatar_data
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_load_avatar_data")
+  (return-type "none")
+  (parameters
+    '("const-guchar*" "data")
+    '("const-gsize" "len")
+    '("const-gchar*" "format")
+    '("const-gchar*" "token")
+  )
+)
+
+(define-method load_avatar_cache
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_load_avatar_cache")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "token")
+  )
+)
+
+(define-function avatar_get_type
+  (c-name "empathy_avatar_get_type")
+  (return-type "GType")
+)
+
+(define-function avatar_new
+  (c-name "empathy_avatar_new")
+  (is-constructor-of "EmpathyAvatar")
+  (return-type "EmpathyAvatar*")
+  (parameters
+    '("guchar*" "data")
+    '("gsize" "len")
+    '("gchar*" "format")
+    '("gchar*" "token")
+  )
+)
+
+(define-method ref
+  (of-object "EmpathyAvatar")
+  (c-name "empathy_avatar_ref")
+  (return-type "EmpathyAvatar*")
+)
+
+(define-method unref
+  (of-object "EmpathyAvatar")
+  (c-name "empathy_avatar_unref")
+  (return-type "none")
+)
+
+(define-method save_to_file
+  (of-object "EmpathyAvatar")
+  (c-name "empathy_avatar_save_to_file")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "filename")
+    '("GError**" "error")
+  )
+)
+
 
 
 ;; From empathy-contact-groups.h
 
-(define-function empathy_contact_groups_get_all
+(define-function contact_groups_get_all
   (c-name "empathy_contact_groups_get_all")
   (return-type "none")
 )
 
-(define-function empathy_contact_group_get_expanded
+(define-function contact_group_get_expanded
   (c-name "empathy_contact_group_get_expanded")
   (return-type "gboolean")
   (parameters
   )
 )
 
-(define-function empathy_contact_group_set_expanded
+(define-function contact_group_set_expanded
   (c-name "empathy_contact_group_set_expanded")
   (return-type "none")
   (parameters
 
 ;; From empathy-contact-list.h
 
-(define-function empathy_contact_list_get_type
+(define-function contact_list_get_type
   (c-name "empathy_contact_list_get_type")
   (return-type "GType")
 )
 
 ;; From empathy-contact-manager.h
 
-(define-function empathy_contact_manager_get_type
+(define-function contact_manager_get_type
   (c-name "empathy_contact_manager_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_contact_manager_new
+(define-function contact_manager_new
   (c-name "empathy_contact_manager_new")
   (is-constructor-of "EmpathyContactManager")
   (return-type "EmpathyContactManager*")
 
 ;; From empathy-contact-factory.h
 
-(define-function empathy_contact_factory_get_type
+(define-function contact_factory_get_type
   (c-name "empathy_contact_factory_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_contact_factory_new
+(define-function contact_factory_new
   (c-name "empathy_contact_factory_new")
   (is-constructor-of "EmpathyContactFactory")
   (return-type "EmpathyContactFactory*")
   (return-type "GList*")
   (parameters
     '("McAccount*" "account")
-    '("GArray*" "handles")
+    '("const-GArray*" "handles")
   )
 )
 
 
 ;; From empathy-tp-contact-factory.h
 
-(define-function empathy_tp_contact_factory_get_type
+(define-function tp_contact_factory_get_type
   (c-name "empathy_tp_contact_factory_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_tp_contact_factory_new
+(define-function tp_contact_factory_new
   (c-name "empathy_tp_contact_factory_new")
   (is-constructor-of "EmpathyTpContactFactory")
   (return-type "EmpathyTpContactFactory*")
 
 ;; From empathy-tp-group.h
 
-(define-function empathy_tp_group_get_type
+(define-function tp_group_get_type
   (c-name "empathy_tp_group_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_tp_group_new
+(define-function tp_group_new
   (c-name "empathy_tp_group_new")
   (is-constructor-of "EmpathyTpGroup")
   (return-type "EmpathyTpGroup*")
   (parameters
-    '("McAccount*" "account")
-    '("TpChan*" "tp_chan")
+    '("TpChannel*" "channel")
   )
 )
 
   (return-type "EmpathyContact*")
 )
 
-(define-method get_object_path
+(define-method is_member
   (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_object_path")
-  (return-type "const-gchar*")
+  (c-name "empathy_tp_group_is_member")
+  (return-type "gboolean")
+  (parameters
+    '("EmpathyContact*" "contact")
+  )
 )
 
-(define-method get_channel
+(define-method is_ready
   (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_channel")
-  (return-type "TpChan*")
+  (c-name "empathy_tp_group_is_ready")
+  (return-type "gboolean")
 )
 
-(define-method is_member
+(define-method get_invitation
   (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_is_member")
-  (return-type "gboolean")
+  (c-name "empathy_tp_group_get_invitation")
+  (return-type "EmpathyPendingInfo*")
   (parameters
-    '("EmpathyContact*" "contact")
+    '("EmpathyContact**" "remote_contact")
   )
 )
 
-(define-function empathy_pending_info_new
+(define-function pending_info_new
   (c-name "empathy_pending_info_new")
   (is-constructor-of "EmpathyPendingInfo")
   (return-type "EmpathyPendingInfo*")
 
 ;; From empathy-tp-contact-list.h
 
-(define-function empathy_tp_contact_list_get_type
+(define-function tp_contact_list_get_type
   (c-name "empathy_tp_contact_list_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_tp_contact_list_new
+(define-function tp_contact_list_new
   (c-name "empathy_tp_contact_list_new")
   (is-constructor-of "EmpathyTpContactList")
   (return-type "EmpathyTpContactList*")
 
 ;; From empathy-tp-chat.h
 
-(define-function empathy_tp_chat_get_type
+(define-function tp_chat_get_type
   (c-name "empathy_tp_chat_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_tp_chat_new
+(define-function tp_chat_new
   (c-name "empathy_tp_chat_new")
   (is-constructor-of "EmpathyTpChat")
   (return-type "EmpathyTpChat*")
   (parameters
-    '("McAccount*" "account")
-    '("TpChan*" "tp_chan")
+    '("TpChannel*" "channel")
   )
 )
 
-(define-function empathy_tp_chat_new_with_contact
-  (c-name "empathy_tp_chat_new_with_contact")
-  (return-type "EmpathyTpChat*")
-  (parameters
-    '("EmpathyContact*" "contact")
-  )
+(define-method get_id
+  (of-object "EmpathyTpChat")
+  (c-name "empathy_tp_chat_get_id")
+  (return-type "const-gchar*")
 )
 
-(define-method get_acknowledge
+(define-method get_remote_contact
   (of-object "EmpathyTpChat")
-  (c-name "empathy_tp_chat_get_acknowledge")
+  (c-name "empathy_tp_chat_get_remote_contact")
+  (return-type "EmpathyContact*")
+)
+
+(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")
+  (return-type "TpChannel*")
+)
+
+(define-method is_ready
+  (of-object "EmpathyTpChat")
+  (c-name "empathy_tp_chat_is_ready")
   (return-type "gboolean")
 )
 
+(define-method get_members_count
+  (of-object "EmpathyTpChat")
+  (c-name "empathy_tp_chat_get_members_count")
+  (return-type "guint")
+)
+
 (define-method set_acknowledge
   (of-object "EmpathyTpChat")
   (c-name "empathy_tp_chat_set_acknowledge")
   )
 )
 
-(define-method get_account
+(define-method emit_pendings
   (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")
-  (return-type "TpChan*")
+  (c-name "empathy_tp_chat_emit_pendings")
+  (return-type "none")
 )
 
 (define-method send
   )
 )
 
-(define-method get_id
-  (of-object "EmpathyTpChat")
-  (c-name "empathy_tp_chat_get_id")
-  (return-type "const-gchar*")
-)
-
 (define-method set_property
   (of-object "EmpathyTpChat")
   (c-name "empathy_tp_chat_set_property")
 
 
 
-;; From empathy-tp-chatroom.h
-
-(define-function empathy_tp_chatroom_get_type
-  (c-name "empathy_tp_chatroom_get_type")
-  (return-type "GType")
-)
-
-(define-function empathy_tp_chatroom_new
-  (c-name "empathy_tp_chatroom_new")
-  (is-constructor-of "EmpathyTpChatroom")
-  (return-type "EmpathyTpChatroom*")
-  (parameters
-    '("McAccount*" "account")
-    '("TpChan*" "tp_chan")
-  )
-)
-
-(define-method get_invitation
-  (of-object "EmpathyTpChatroom")
-  (c-name "empathy_tp_chatroom_get_invitation")
-  (return-type "gboolean")
-  (parameters
-    '("EmpathyContact**" "contact")
-    '("const-gchar**" "message")
-  )
-)
-
-(define-method accept_invitation
-  (of-object "EmpathyTpChatroom")
-  (c-name "empathy_tp_chatroom_accept_invitation")
-  (return-type "none")
-)
-
-
-
 ;; From empathy-tp-roomlist.h
 
-(define-function empathy_tp_roomlist_get_type
+(define-function tp_roomlist_get_type
   (c-name "empathy_tp_roomlist_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_tp_roomlist_new
+(define-function tp_roomlist_new
   (c-name "empathy_tp_roomlist_new")
   (is-constructor-of "EmpathyTpRoomlist")
   (return-type "EmpathyTpRoomlist*")
 
 ;; From empathy-tp-call.h
 
-(define-function empathy_tp_call_get_type
+(define-function tp_call_get_type
   (c-name "empathy_tp_call_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_tp_call_new
+(define-function tp_call_new
   (c-name "empathy_tp_call_new")
   (is-constructor-of "EmpathyTpCall")
   (return-type "EmpathyTpCall*")
   (parameters
-    '("TpConn*" "connection")
-    '("TpChan*" "channel")
+    '("TpChannel*" "channel")
   )
 )
 
   (return-type "none")
 )
 
-(define-method close_channel
-  (of-object "EmpathyTpCall")
-  (c-name "empathy_tp_call_close_channel")
-  (return-type "none")
-)
-
 (define-method request_video_stream_direction
   (of-object "EmpathyTpCall")
   (c-name "empathy_tp_call_request_video_stream_direction")
   )
 )
 
+(define-method start_tone
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_start_tone")
+  (return-type "none")
+  (parameters
+    '("TpDTMFEvent" "event")
+  )
+)
 
+(define-method stop_tone
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_stop_tone")
+  (return-type "none")
+)
+
+(define-method has_dtmf
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_has_dtmf")
+  (return-type "gboolean")
+)
 
-;; From empathy-chandler.h
 
-(define-function empathy_chandler_get_type
-  (c-name "empathy_chandler_get_type")
+
+;; From empathy-tp-tube.h
+
+(define-function tp_tube_get_type
+  (c-name "empathy_tp_tube_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_chandler_new
-  (c-name "empathy_chandler_new")
-  (is-constructor-of "EmpathyChandler")
-  (return-type "EmpathyChandler*")
+(define-function tp_tube_new
+  (c-name "empathy_tp_tube_new")
+  (is-constructor-of "EmpathyTpTube")
+  (return-type "EmpathyTpTube*")
   (parameters
-    '("const-gchar*" "bus_name")
-    '("const-gchar*" "object_path")
+    '("TpChannel*" "channel")
+    '("guint" "tube_id")
   )
 )
 
-
-
-;; From empathy-filter.h
-
-(define-function empathy_filter_get_type
-  (c-name "empathy_filter_get_type")
-  (return-type "GType")
+(define-function tp_tube_new_stream_tube
+  (c-name "empathy_tp_tube_new_stream_tube")
+  (return-type "EmpathyTpTube*")
+  (parameters
+    '("EmpathyContact*" "contact")
+    '("TpSocketAddressType" "type")
+    '("const-gchar*" "hostname")
+    '("guint" "port")
+    '("const-gchar*" "service")
+  )
 )
 
-(define-function empathy_filter_new
-  (c-name "empathy_filter_new")
-  (is-constructor-of "EmpathyFilter")
-  (return-type "EmpathyFilter*")
+(define-method accept_stream_tube
+  (of-object "EmpathyTpTube")
+  (c-name "empathy_tp_tube_accept_stream_tube")
+  (return-type "none")
   (parameters
-    '("const-gchar*" "bus_name")
-    '("const-gchar*" "object_path")
-    '("const-gchar*" "channel_type")
-    '("guint" "priority")
-    '("guint" "flags")
+    '("TpSocketAddressType" "type")
   )
 )
 
-(define-method process
-  (of-object "EmpathyFilter")
-  (c-name "empathy_filter_process")
+(define-method get_socket
+  (of-object "EmpathyTpTube")
+  (c-name "empathy_tp_tube_get_socket")
   (return-type "none")
   (parameters
-    '("TpChan*" "tp_chan")
-    '("gboolean" "process")
+    '("gchar**" "hostname")
+    '("guint*" "port")
   )
 )
 
 
 ;; From empathy-idle.h
 
-(define-function empathy_idle_get_type
+(define-function idle_get_type
   (c-name "empathy_idle_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_idle_new
+(define-function idle_new
   (c-name "empathy_idle_new")
   (is-constructor-of "EmpathyIdle")
   (return-type "EmpathyIdle*")
 
 ;; From empathy-log-manager.h
 
-(define-function empathy_log_manager_get_type
+(define-function log_manager_get_type
   (c-name "empathy_log_manager_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_log_manager_new
+(define-function log_manager_new
   (c-name "empathy_log_manager_new")
   (is-constructor-of "EmpathyLogManager")
   (return-type "EmpathyLogManager*")
   )
 )
 
-(define-function empathy_log_manager_search_free
+(define-function log_manager_search_free
   (c-name "empathy_log_manager_search_free")
   (return-type "none")
   (parameters
   )
 )
 
-(define-function empathy_log_manager_get_date_readable
+(define-function log_manager_get_date_readable
   (c-name "empathy_log_manager_get_date_readable")
   (return-type "gchar*")
   (parameters
 
 ;; From empathy-irc-network-manager.h
 
-(define-function empathy_irc_network_manager_get_type
+(define-function irc_network_manager_get_type
   (c-name "empathy_irc_network_manager_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_irc_network_manager_new
+(define-function irc_network_manager_new
   (c-name "empathy_irc_network_manager_new")
   (is-constructor-of "EmpathyIrcNetworkManager")
   (return-type "EmpathyIrcNetworkManager*")
 
 ;; From empathy-irc-network.h
 
-(define-function empathy_irc_network_get_type
+(define-function irc_network_get_type
   (c-name "empathy_irc_network_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_irc_network_new
+(define-function irc_network_new
   (c-name "empathy_irc_network_new")
   (is-constructor-of "EmpathyIrcNetwork")
   (return-type "EmpathyIrcNetwork*")
 
 ;; From empathy-irc-server.h
 
-(define-function empathy_irc_server_get_type
+(define-function irc_server_get_type
   (c-name "empathy_irc_server_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_irc_server_new
+(define-function irc_server_new
   (c-name "empathy_irc_server_new")
   (is-constructor-of "EmpathyIrcServer")
   (return-type "EmpathyIrcServer*")
 )
 
 
+
+;; From empathy-tube-handler.h
+
+(define-function tube_handler_get_type
+  (c-name "empathy_tube_handler_get_type")
+  (return-type "GType")
+)
+
+(define-function tube_handler_new
+  (c-name "empathy_tube_handler_new")
+  (is-constructor-of "EmpathyTubeHandler")
+  (return-type "EmpathyTubeHandler*")
+  (parameters
+    '("TpTubeType" "type")
+    '("const-gchar*" "service")
+  )
+)
+
+(define-function tube_handler_build_bus_name
+  (c-name "empathy_tube_handler_build_bus_name")
+  (return-type "gchar*")
+  (parameters
+    '("TpTubeType" "type")
+    '("const-gchar*" "service")
+  )
+)
+
+(define-function tube_handler_build_object_path
+  (c-name "empathy_tube_handler_build_object_path")
+  (return-type "gchar*")
+  (parameters
+    '("TpTubeType" "type")
+    '("const-gchar*" "service")
+  )
+)
+
+
+
+;; From empathy-dispatcher.h
+
+(define-function dispatcher_get_type
+  (c-name "empathy_dispatcher_get_type")
+  (return-type "GType")
+)
+
+(define-function dispatcher_new
+  (c-name "empathy_dispatcher_new")
+  (is-constructor-of "EmpathyDispatcher")
+  (return-type "EmpathyDispatcher*")
+)
+
+(define-method channel_process
+  (of-object "EmpathyDispatcher")
+  (c-name "empathy_dispatcher_channel_process")
+  (return-type "none")
+  (parameters
+    '("TpChannel*" "channel")
+  )
+)
+
+(define-function dispatcher_tube_get_type
+  (c-name "empathy_dispatcher_tube_get_type")
+  (return-type "GType")
+)
+
+(define-method ref
+  (of-object "EmpathyDispatcherTube")
+  (c-name "empathy_dispatcher_tube_ref")
+  (return-type "EmpathyDispatcherTube*")
+)
+
+(define-method unref
+  (of-object "EmpathyDispatcherTube")
+  (c-name "empathy_dispatcher_tube_unref")
+  (return-type "none")
+)
+
+(define-method tube_process
+  (of-object "EmpathyDispatcher")
+  (c-name "empathy_dispatcher_tube_process")
+  (return-type "none")
+  (parameters
+    '("EmpathyDispatcherTube*" "tube")
+  )
+)
+
+(define-function dispatcher_call_with_contact
+  (c-name "empathy_dispatcher_call_with_contact")
+  (return-type "none")
+  (parameters
+    '("EmpathyContact*" "contact")
+  )
+)
+
+(define-function dispatcher_call_with_contact_id
+  (c-name "empathy_dispatcher_call_with_contact_id")
+  (return-type "none")
+  (parameters
+    '("McAccount*" "account")
+    '("const-gchar*" "contact_id")
+  )
+)
+
+(define-function dispatcher_chat_with_contact_id
+  (c-name "empathy_dispatcher_chat_with_contact_id")
+  (return-type "none")
+  (parameters
+    '("McAccount*" "account")
+    '("const-gchar*" "contact_id")
+  )
+)
+
+(define-function dispatcher_chat_with_contact
+  (c-name "empathy_dispatcher_chat_with_contact")
+  (return-type "none")
+  (parameters
+    '("EmpathyContact*" "contact")
+  )
+)
+
+