]> git.0d.be Git - empathy.git/blobdiff - python/pyempathy/pyempathy.defs
Merge branch 'master' into tp-tube
[empathy.git] / python / pyempathy / pyempathy.defs
index 08017c0080a992832e58ff12fc44db5a49f9c112..3e9fd624c146d10ec31ef0f7d8d4871aa2fc6394 100644 (file)
@@ -7,6 +7,20 @@
   (gtype-id "EMPATHY_TYPE_ACCOUNT_MANAGER")
 )
 
+(define-object CallFactory
+  (in-module "Empathy")
+  (parent "GObject")
+  (c-name "EmpathyCallFactory")
+  (gtype-id "EMPATHY_TYPE_CALL_FACTORY")
+)
+
+(define-object CallHandler
+  (in-module "Empathy")
+  (parent "GObject")
+  (c-name "EmpathyCallHandler")
+  (gtype-id "EMPATHY_TYPE_CALL_HANDLER")
+)
+
 (define-object Chatroom
   (in-module "Empathy")
   (parent "GObject")
   (gtype-id "EMPATHY_TYPE_CONTACT")
 )
 
-(define-object ContactFactory
-  (in-module "Empathy")
-  (parent "GObject")
-  (c-name "EmpathyContactFactory")
-  (gtype-id "EMPATHY_TYPE_CONTACT_FACTORY")
-)
-
 (define-interface ContactList
   (in-module "Empathy")
   (c-name "EmpathyContactList")
   (gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
 )
 
+(define-object ContactMonitor
+  (in-module "Empathy")
+  (parent "GObject")
+  (c-name "EmpathyContactMonitor")
+  (gtype-id "EMPATHY_TYPE_CONTACT_MONITOR")
+)
+
+(define-object DispatchOperation
+  (in-module "Empathy")
+  (parent "GObject")
+  (c-name "EmpathyDispatchOperation")
+  (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION")
+)
+
 (define-object Dispatcher
   (in-module "Empathy")
   (parent "GObject")
   (gtype-id "EMPATHY_TYPE_LOG_MANAGER")
 )
 
+(define-object LogStoreEmpathy
+  (in-module "Empathy")
+  (parent "GObject")
+  (c-name "EmpathyLogStoreEmpathy")
+  (gtype-id "EMPATHY_TYPE_LOG_STORE_EMPATHY")
+)
+
 (define-object Message
   (in-module "Empathy")
   (parent "GObject")
   (gtype-id "EMPATHY_TYPE_TP_FILE")
 )
 
-(define-object TpGroup
-  (in-module "Empathy")
-  (parent "GObject")
-  (c-name "EmpathyTpGroup")
-  (gtype-id "EMPATHY_TYPE_TP_GROUP")
-)
-
 (define-object TpRoomlist
   (in-module "Empathy")
   (parent "GObject")
   )
 )
 
-(define-flags ContactReady
-  (in-module "Empathy")
-  (c-name "EmpathyContactReady")
-  (gtype-id "EMPATHY_TYPE_CONTACT_READY")
-  (values
-    '("none" "EMPATHY_CONTACT_READY_NONE")
-    '("id" "EMPATHY_CONTACT_READY_ID")
-    '("handle" "EMPATHY_CONTACT_READY_HANDLE")
-    '("name" "EMPATHY_CONTACT_READY_NAME")
-    '("all" "EMPATHY_CONTACT_READY_ALL")
-  )
-)
-
 (define-flags DebugFlags
   (in-module "Empathy")
   (c-name "EmpathyDebugFlags")
   )
 )
 
+(define-enum DispatchOperationState
+  (in-module "Empathy")
+  (c-name "EmpathyDispatchOperationState")
+  (gtype-id "EMPATHY_TYPE_DISPATCH_OPERATION_STATE")
+  (values
+    '("preparing" "EMPATHY_DISPATCHER_OPERATION_STATE_PREPARING")
+    '("pending" "EMPATHY_DISPATCHER_OPERATION_STATE_PENDING")
+    '("approving" "EMPATHY_DISPATCHER_OPERATION_STATE_APPROVING")
+    '("dispatching" "EMPATHY_DISPATCHER_OPERATION_STATE_DISPATCHING")
+    '("claimed" "EMPATHY_DISPATCHER_OPERATION_STATE_CLAIMED")
+    '("invalidated" "EMPATHY_DISPATCHER_OPERATION_STATE_INVALIDATED")
+  )
+)
+
 (define-enum TpCallStatus
   (in-module "Empathy")
   (c-name "EmpathyTpCallStatus")
   )
 )
 
+(define-method get_count
+  (of-object "EmpathyAccountManager")
+  (c-name "empathy_account_manager_get_count")
+  (return-type "int")
+)
+
+(define-method get_account
+  (of-object "EmpathyAccountManager")
+  (c-name "empathy_account_manager_get_account")
+  (return-type "McAccount*")
+  (parameters
+    '("TpConnection*" "connection")
+  )
+)
+
+(define-method dup_accounts
+  (of-object "EmpathyAccountManager")
+  (c-name "empathy_account_manager_dup_accounts")
+  (return-type "GList*")
+)
+
+(define-method get_connection
+  (of-object "EmpathyAccountManager")
+  (c-name "empathy_account_manager_get_connection")
+  (return-type "TpConnection*")
+  (parameters
+    '("McAccount*" "account")
+  )
+)
+
+(define-method dup_connections
+  (of-object "EmpathyAccountManager")
+  (c-name "empathy_account_manager_dup_connections")
+  (return-type "GList*")
+)
+
 
 
 ;; From empathy-chatroom.h
   )
 )
 
+(define-method get_subject
+  (of-object "EmpathyChatroom")
+  (c-name "empathy_chatroom_get_subject")
+  (return-type "const-gchar*")
+)
+
+(define-method set_subject
+  (of-object "EmpathyChatroom")
+  (c-name "empathy_chatroom_set_subject")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "subject")
+  )
+)
+
+(define-method get_members_count
+  (of-object "EmpathyChatroom")
+  (c-name "empathy_chatroom_get_members_count")
+  (return-type "guint")
+)
+
+(define-method set_members_count
+  (of-object "EmpathyChatroom")
+  (c-name "empathy_chatroom_set_members_count")
+  (return-type "none")
+  (parameters
+    '("guint" "count")
+  )
+)
+
+(define-method get_need_password
+  (of-object "EmpathyChatroom")
+  (c-name "empathy_chatroom_get_need_password")
+  (return-type "gboolean")
+)
+
+(define-method set_need_password
+  (of-object "EmpathyChatroom")
+  (c-name "empathy_chatroom_set_need_password")
+  (return-type "none")
+  (parameters
+    '("gboolean" "need_password")
+  )
+)
+
+(define-method get_invite_only
+  (of-object "EmpathyChatroom")
+  (c-name "empathy_chatroom_get_invite_only")
+  (return-type "gboolean")
+)
+
+(define-method set_invite_only
+  (of-object "EmpathyChatroom")
+  (c-name "empathy_chatroom_set_invite_only")
+  (return-type "none")
+  (parameters
+    '("gboolean" "invite_only")
+  )
+)
+
 (define-function chatroom_equal
   (c-name "empathy_chatroom_equal")
   (return-type "gboolean")
   )
 )
 
+(define-method get_tp_chat
+  (of-object "EmpathyChatroom")
+  (c-name "empathy_chatroom_get_tp_chat")
+  (return-type "EmpathyTpChat*")
+)
+
 
 
 ;; From empathy-chatroom-manager.h
   (return-type "GType")
 )
 
-(define-function chatroom_manager_new
-  (c-name "empathy_chatroom_manager_new")
-  (is-constructor-of "EmpathyChatroomManager")
+(define-function chatroom_manager_dup_singleton
+  (c-name "empathy_chatroom_manager_dup_singleton")
   (return-type "EmpathyChatroomManager*")
   (parameters
     '("const-gchar*" "file")
   )
 )
 
+(define-method observe
+  (of-object "EmpathyChatroomManager")
+  (c-name "empathy_chatroom_manager_observe")
+  (return-type "none")
+  (parameters
+    '("EmpathyDispatcher*" "dispatcher")
+  )
+)
+
+
+
+;; From empathy-call-factory.h
+
+(define-function call_factory_get_type
+  (c-name "empathy_call_factory_get_type")
+  (return-type "GType")
+)
+
+(define-function call_factory_initialise
+  (c-name "empathy_call_factory_initialise")
+  (return-type "EmpathyCallFactory*")
+)
+
+(define-function call_factory_get
+  (c-name "empathy_call_factory_get")
+  (return-type "EmpathyCallFactory*")
+)
+
+(define-method new_call
+  (of-object "EmpathyCallFactory")
+  (c-name "empathy_call_factory_new_call")
+  (return-type "none")
+  (parameters
+    '("EmpathyContact*" "contact")
+  )
+)
+
+(define-method claim_channel
+  (of-object "EmpathyCallFactory")
+  (c-name "empathy_call_factory_claim_channel")
+  (return-type "none")
+  (parameters
+    '("EmpathyDispatchOperation*" "operation")
+  )
+)
+
+
+
+;; From empathy-call-handler.h
+
+(define-function call_handler_get_type
+  (c-name "empathy_call_handler_get_type")
+  (return-type "GType")
+)
+
+(define-function call_handler_new_for_contact
+  (c-name "empathy_call_handler_new_for_contact")
+  (return-type "EmpathyCallHandler*")
+  (parameters
+    '("EmpathyContact*" "contact")
+  )
+)
+
+(define-function call_handler_new_for_channel
+  (c-name "empathy_call_handler_new_for_channel")
+  (return-type "EmpathyCallHandler*")
+  (parameters
+    '("EmpathyTpCall*" "call")
+  )
+)
+
+(define-method start_call
+  (of-object "EmpathyCallHandler")
+  (c-name "empathy_call_handler_start_call")
+  (return-type "none")
+)
+
+(define-method bus_message
+  (of-object "EmpathyCallHandler")
+  (c-name "empathy_call_handler_bus_message")
+  (return-type "none")
+  (parameters
+    '("GstBus*" "bus")
+    '("GstMessage*" "message")
+  )
+)
+
 
 
 ;; From empathy-contact.h
   (is-constructor-of "EmpathyContact")
   (return-type "EmpathyContact*")
   (parameters
-    '("McAccount*" "account")
+    '("TpContact*" "tp_contact")
   )
 )
 
-(define-function contact_new_full
-  (c-name "empathy_contact_new_full")
-  (return-type "EmpathyContact*")
-  (parameters
-    '("McAccount*" "account")
-    '("const-gchar*" "id")
-    '("const-gchar*" "name")
-  )
+(define-method get_tp_contact
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_get_tp_contact")
+  (return-type "TpContact*")
 )
 
 (define-method get_id
   (return-type "McAccount*")
 )
 
-(define-method set_account
+(define-method get_connection
   (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_account")
-  (return-type "none")
-  (parameters
-    '("McAccount*" "account")
-  )
+  (c-name "empathy_contact_get_connection")
+  (return-type "TpConnection*")
 )
 
 (define-method get_presence
   )
 )
 
-(define-method get_ready
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_get_ready")
-  (return-type "EmpathyContactReady")
-)
-
 (define-method is_user
   (of-object "EmpathyContact")
   (c-name "empathy_contact_is_user")
   (return-type "gboolean")
 )
 
-(define-function contact_equal
-  (c-name "empathy_contact_equal")
-  (return-type "gboolean")
-  (parameters
-    '("gconstpointer" "v1")
-    '("gconstpointer" "v2")
-  )
-)
-
 (define-function contact_hash
   (c-name "empathy_contact_hash")
   (return-type "guint")
   )
 )
 
-(define-method run_until_ready
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_run_until_ready")
-  (return-type "none")
-  (parameters
-    '("EmpathyContactReady" "ready")
-    '("GMainLoop**" "loop")
-  )
-)
-
 (define-method load_avatar_data
   (of-object "EmpathyContact")
   (c-name "empathy_contact_load_avatar_data")
 
 
 
-;; From empathy-contact-factory.h
-
-(define-function contact_factory_get_type
-  (c-name "empathy_contact_factory_get_type")
-  (return-type "GType")
-)
-
-(define-function contact_factory_new
-  (c-name "empathy_contact_factory_new")
-  (is-constructor-of "EmpathyContactFactory")
-  (return-type "EmpathyContactFactory*")
-)
-
-(define-method get_tp_factory
-  (of-object "EmpathyContactFactory")
-  (c-name "empathy_contact_factory_get_tp_factory")
-  (return-type "EmpathyTpContactFactory*")
-  (parameters
-    '("McAccount*" "account")
-  )
-)
-
-(define-method get_user
-  (of-object "EmpathyContactFactory")
-  (c-name "empathy_contact_factory_get_user")
-  (return-type "EmpathyContact*")
-  (parameters
-    '("McAccount*" "account")
-  )
-)
-
-(define-method get_from_id
-  (of-object "EmpathyContactFactory")
-  (c-name "empathy_contact_factory_get_from_id")
-  (return-type "EmpathyContact*")
-  (parameters
-    '("McAccount*" "account")
-    '("const-gchar*" "id")
-  )
-)
-
-(define-method get_from_handle
-  (of-object "EmpathyContactFactory")
-  (c-name "empathy_contact_factory_get_from_handle")
-  (return-type "EmpathyContact*")
-  (parameters
-    '("McAccount*" "account")
-    '("guint" "handle")
-  )
-)
-
-(define-method get_from_handles
-  (of-object "EmpathyContactFactory")
-  (c-name "empathy_contact_factory_get_from_handles")
-  (return-type "GList*")
-  (parameters
-    '("McAccount*" "account")
-    '("const-GArray*" "handles")
-  )
-)
-
-(define-method set_alias
-  (of-object "EmpathyContactFactory")
-  (c-name "empathy_contact_factory_set_alias")
-  (return-type "none")
-  (parameters
-    '("EmpathyContact*" "contact")
-    '("const-gchar*" "alias")
-  )
-)
-
-(define-method set_avatar
-  (of-object "EmpathyContactFactory")
-  (c-name "empathy_contact_factory_set_avatar")
-  (return-type "none")
-  (parameters
-    '("McAccount*" "account")
-    '("const-gchar*" "data")
-    '("gsize" "size")
-    '("const-gchar*" "mime_type")
-  )
-)
-
-
-
 ;; From empathy-contact-groups.h
 
 (define-function contact_groups_get_all
   (return-type "GType")
 )
 
-(define-function contact_manager_new
-  (c-name "empathy_contact_manager_new")
-  (is-constructor-of "EmpathyContactManager")
+(define-function contact_manager_dup_singleton
+  (c-name "empathy_contact_manager_dup_singleton")
   (return-type "EmpathyContactManager*")
 )
 
   (c-name "empathy_contact_manager_get_list")
   (return-type "EmpathyTpContactList*")
   (parameters
-    '("McAccount*" "account")
+    '("TpConnection*" "connection")
   )
 )
 
   (c-name "empathy_contact_manager_can_add")
   (return-type "gboolean")
   (parameters
-    '("McAccount*" "account")
+    '("TpConnection*" "connection")
+  )
+)
+
+
+
+;; From empathy-contact-monitor.h
+
+(define-function contact_monitor_get_type
+  (c-name "empathy_contact_monitor_get_type")
+  (return-type "GType")
+)
+
+(define-method set_iface
+  (of-object "EmpathyContactMonitor")
+  (c-name "empathy_contact_monitor_set_iface")
+  (return-type "none")
+  (parameters
+    '("EmpathyContactList*" "iface")
+  )
+)
+
+(define-function contact_monitor_new_for_iface
+  (c-name "empathy_contact_monitor_new_for_iface")
+  (return-type "EmpathyContactMonitor*")
+  (parameters
+    '("EmpathyContactList*" "iface")
   )
 )
 
   (return-type "GType")
 )
 
-(define-function dispatcher_new
-  (c-name "empathy_dispatcher_new")
-  (is-constructor-of "EmpathyDispatcher")
-  (return-type "EmpathyDispatcher*")
-)
-
-(define-method channel_process
+(define-method create_channel
   (of-object "EmpathyDispatcher")
-  (c-name "empathy_dispatcher_channel_process")
+  (c-name "empathy_dispatcher_create_channel")
   (return-type "none")
   (parameters
-    '("TpChannel*" "channel")
+    '("TpConnection*" "connection")
+    '("GHashTable*" "request")
+    '("EmpathyDispatcherRequestCb*" "callback")
+    '("gpointer" "user_data")
   )
 )
 
-(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")
+(define-function dispatcher_chat_with_contact_id
+  (c-name "empathy_dispatcher_chat_with_contact_id")
   (return-type "none")
+  (parameters
+    '("TpConnection*" "connection")
+    '("const-gchar*" "contact_id")
+    '("EmpathyDispatcherRequestCb*" "callback")
+    '("gpointer" "user_data")
+  )
 )
 
-(define-method tube_process
-  (of-object "EmpathyDispatcher")
-  (c-name "empathy_dispatcher_tube_process")
+(define-function dispatcher_chat_with_contact
+  (c-name "empathy_dispatcher_chat_with_contact")
   (return-type "none")
   (parameters
-    '("EmpathyDispatcherTube*" "tube")
+    '("EmpathyContact*" "contact")
+    '("EmpathyDispatcherRequestCb*" "callback")
+    '("gpointer" "user_data")
   )
 )
 
-(define-function dispatcher_call_with_contact
-  (c-name "empathy_dispatcher_call_with_contact")
+(define-function dispatcher_send_file_to_contact
+  (c-name "empathy_dispatcher_send_file_to_contact")
   (return-type "none")
   (parameters
     '("EmpathyContact*" "contact")
+    '("const-gchar*" "filename")
+    '("guint64" "size")
+    '("guint64" "date")
+    '("const-gchar*" "content_type")
+    '("EmpathyDispatcherRequestCb*" "callback")
+    '("gpointer" "user_data")
   )
 )
 
-(define-function dispatcher_call_with_contact_id
-  (c-name "empathy_dispatcher_call_with_contact_id")
+(define-function dispatcher_join_muc
+  (c-name "empathy_dispatcher_join_muc")
   (return-type "none")
   (parameters
-    '("McAccount*" "account")
-    '("const-gchar*" "contact_id")
+    '("TpConnection*" "connection")
+    '("const-gchar*" "roomname")
+    '("EmpathyDispatcherRequestCb*" "callback")
+    '("gpointer" "user_data")
   )
 )
 
-(define-function dispatcher_chat_with_contact_id
-  (c-name "empathy_dispatcher_chat_with_contact_id")
-  (return-type "none")
+(define-method find_channel_class
+  (of-object "EmpathyDispatcher")
+  (c-name "empathy_dispatcher_find_channel_class")
+  (return-type "GStrv")
   (parameters
-    '("McAccount*" "account")
-    '("const-gchar*" "contact_id")
+    '("TpConnection*" "connection")
+    '("const-gchar*" "channel_type")
+    '("guint" "handle_type")
   )
 )
 
-(define-function dispatcher_chat_with_contact
-  (c-name "empathy_dispatcher_chat_with_contact")
-  (return-type "none")
+(define-function dispatcher_dup_singleton
+  (c-name "empathy_dispatcher_dup_singleton")
+  (return-type "EmpathyDispatcher*")
+)
+
+
+
+;; From empathy-dispatch-operation.h
+
+(define-function dispatch_operation_get_type
+  (c-name "empathy_dispatch_operation_get_type")
+  (return-type "GType")
+)
+
+(define-function dispatch_operation_new
+  (c-name "empathy_dispatch_operation_new")
+  (is-constructor-of "EmpathyDispatchOperation")
+  (return-type "EmpathyDispatchOperation*")
   (parameters
+    '("TpConnection*" "connection")
+    '("TpChannel*" "channel")
     '("EmpathyContact*" "contact")
+    '("gboolean" "incoming")
   )
 )
 
-(define-function dispatcher_send_file
-  (c-name "empathy_dispatcher_send_file")
-  (return-type "none")
+(define-function dispatch_operation_new_with_wrapper
+  (c-name "empathy_dispatch_operation_new_with_wrapper")
+  (return-type "EmpathyDispatchOperation*")
   (parameters
+    '("TpConnection*" "connection")
+    '("TpChannel*" "channel")
     '("EmpathyContact*" "contact")
-    '("GFile*" "gfile")
+    '("gboolean" "incoming")
+    '("GObject*" "channel_wrapper")
   )
 )
 
+(define-method start
+  (of-object "EmpathyDispatchOperation")
+  (c-name "empathy_dispatch_operation_start")
+  (return-type "none")
+)
+
+(define-method approve
+  (of-object "EmpathyDispatchOperation")
+  (c-name "empathy_dispatch_operation_approve")
+  (return-type "none")
+)
+
+(define-method claim
+  (of-object "EmpathyDispatchOperation")
+  (c-name "empathy_dispatch_operation_claim")
+  (return-type "gboolean")
+)
+
+(define-method get_channel
+  (of-object "EmpathyDispatchOperation")
+  (c-name "empathy_dispatch_operation_get_channel")
+  (return-type "TpChannel*")
+)
+
+(define-method get_channel_wrapper
+  (of-object "EmpathyDispatchOperation")
+  (c-name "empathy_dispatch_operation_get_channel_wrapper")
+  (return-type "GObject*")
+)
+
+(define-method get_tp_connection
+  (of-object "EmpathyDispatchOperation")
+  (c-name "empathy_dispatch_operation_get_tp_connection")
+  (return-type "TpConnection*")
+)
+
+(define-method get_channel_type
+  (of-object "EmpathyDispatchOperation")
+  (c-name "empathy_dispatch_operation_get_channel_type")
+  (return-type "const-gchar*")
+)
+
+(define-method get_channel_type_id
+  (of-object "EmpathyDispatchOperation")
+  (c-name "empathy_dispatch_operation_get_channel_type_id")
+  (return-type "GQuark")
+)
+
+(define-method get_object_path
+  (of-object "EmpathyDispatchOperation")
+  (c-name "empathy_dispatch_operation_get_object_path")
+  (return-type "const-gchar*")
+)
+
+(define-method get_status
+  (of-object "EmpathyDispatchOperation")
+  (c-name "empathy_dispatch_operation_get_status")
+  (return-type "EmpathyDispatchOperationState")
+)
+
+(define-method is_incoming
+  (of-object "EmpathyDispatchOperation")
+  (c-name "empathy_dispatch_operation_is_incoming")
+  (return-type "gboolean")
+)
+
 
 
 ;; From empathy-idle.h
   (return-type "GType")
 )
 
-(define-function idle_new
-  (c-name "empathy_idle_new")
-  (is-constructor-of "EmpathyIdle")
+(define-function idle_dup_singleton
+  (c-name "empathy_idle_dup_singleton")
   (return-type "EmpathyIdle*")
 )
 
   (return-type "GType")
 )
 
-(define-function log_manager_new
-  (c-name "empathy_log_manager_new")
-  (is-constructor-of "EmpathyLogManager")
+(define-function log_manager_dup_singleton
+  (c-name "empathy_log_manager_dup_singleton")
   (return-type "EmpathyLogManager*")
 )
 
 (define-method add_message
   (of-object "EmpathyLogManager")
   (c-name "empathy_log_manager_add_message")
-  (return-type "none")
+  (return-type "gboolean")
   (parameters
     '("const-gchar*" "chat_id")
     '("gboolean" "chatroom")
     '("EmpathyMessage*" "message")
+    '("GError**" "error")
   )
 )
 
   )
 )
 
-(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_last_messages
+(define-method get_filtered_messages
   (of-object "EmpathyLogManager")
-  (c-name "empathy_log_manager_get_last_messages")
+  (c-name "empathy_log_manager_get_filtered_messages")
   (return-type "GList*")
   (parameters
     '("McAccount*" "account")
     '("const-gchar*" "chat_id")
     '("gboolean" "chatroom")
-  )
-)
-
-(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")
+    '("guint" "num_messages")
+    '("EmpathyLogMessageFilter" "filter")
+    '("gpointer" "user_data")
   )
 )
 
   )
 )
 
+(define-function log_manager_search_hit_free
+  (c-name "empathy_log_manager_search_hit_free")
+  (return-type "none")
+  (parameters
+    '("EmpathyLogSearchHit*" "hit")
+  )
+)
+
+(define-method observe
+  (of-object "EmpathyLogManager")
+  (c-name "empathy_log_manager_observe")
+  (return-type "none")
+  (parameters
+    '("EmpathyDispatcher*" "dispatcher")
+  )
+)
+
+
+
+;; From empathy-log-store.h
+
+(define-function log_store_get_type
+  (c-name "empathy_log_store_get_type")
+  (return-type "GType")
+)
+
+(define-method get_name
+  (of-object "EmpathyLogStore")
+  (c-name "empathy_log_store_get_name")
+  (return-type "const-gchar*")
+)
+
+(define-method exists
+  (of-object "EmpathyLogStore")
+  (c-name "empathy_log_store_exists")
+  (return-type "gboolean")
+  (parameters
+    '("McAccount*" "account")
+    '("const-gchar*" "chat_id")
+    '("gboolean" "chatroom")
+  )
+)
+
+(define-method add_message
+  (of-object "EmpathyLogStore")
+  (c-name "empathy_log_store_add_message")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "chat_id")
+    '("gboolean" "chatroom")
+    '("EmpathyMessage*" "message")
+    '("GError**" "error")
+  )
+)
+
+(define-method get_dates
+  (of-object "EmpathyLogStore")
+  (c-name "empathy_log_store_get_dates")
+  (return-type "GList*")
+  (parameters
+    '("McAccount*" "account")
+    '("const-gchar*" "chat_id")
+    '("gboolean" "chatroom")
+  )
+)
+
+(define-method get_messages_for_date
+  (of-object "EmpathyLogStore")
+  (c-name "empathy_log_store_get_messages_for_date")
+  (return-type "GList*")
+  (parameters
+    '("McAccount*" "account")
+    '("const-gchar*" "chat_id")
+    '("gboolean" "chatroom")
+    '("const-gchar*" "date")
+  )
+)
+
+(define-method get_last_messages
+  (of-object "EmpathyLogStore")
+  (c-name "empathy_log_store_get_last_messages")
+  (return-type "GList*")
+  (parameters
+    '("McAccount*" "account")
+    '("const-gchar*" "chat_id")
+    '("gboolean" "chatroom")
+  )
+)
+
+(define-method get_chats
+  (of-object "EmpathyLogStore")
+  (c-name "empathy_log_store_get_chats")
+  (return-type "GList*")
+  (parameters
+    '("McAccount*" "account")
+  )
+)
+
+(define-method search_new
+  (of-object "EmpathyLogStore")
+  (c-name "empathy_log_store_search_new")
+  (return-type "GList*")
+  (parameters
+    '("const-gchar*" "text")
+  )
+)
+
+(define-method ack_message
+  (of-object "EmpathyLogStore")
+  (c-name "empathy_log_store_ack_message")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "chat_id")
+    '("gboolean" "chatroom")
+    '("EmpathyMessage*" "message")
+  )
+)
+
+(define-method get_filtered_messages
+  (of-object "EmpathyLogStore")
+  (c-name "empathy_log_store_get_filtered_messages")
+  (return-type "GList*")
+  (parameters
+    '("McAccount*" "account")
+    '("const-gchar*" "chat_id")
+    '("gboolean" "chatroom")
+    '("guint" "num_messages")
+    '("EmpathyLogMessageFilter" "filter")
+    '("gpointer" "user_data")
+  )
+)
+
+
+
+;; From empathy-log-store-empathy.h
+
+(define-function log_store_empathy_get_type
+  (c-name "empathy_log_store_empathy_get_type")
+  (return-type "GType")
+)
+
 
 
 ;; From empathy-message.h
   )
 )
 
+(define-method get_id
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_get_id")
+  (return-type "guint")
+)
+
+(define-method set_id
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_set_id")
+  (return-type "none")
+  (parameters
+    '("guint" "id")
+  )
+)
+
+(define-method equal
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_equal")
+  (return-type "gboolean")
+  (parameters
+    '("EmpathyMessage*" "message2")
+  )
+)
+
 
 
 ;; From empathy-status-presets.h
   )
 )
 
-(define-method accept_incoming_call
-  (of-object "EmpathyTpCall")
-  (c-name "empathy_tp_call_accept_incoming_call")
-  (return-type "none")
-)
-
-(define-method request_video_stream_direction
-  (of-object "EmpathyTpCall")
-  (c-name "empathy_tp_call_request_video_stream_direction")
-  (return-type "none")
-  (parameters
-    '("gboolean" "is_sending")
-  )
-)
-
-(define-method add_preview_video
-  (of-object "EmpathyTpCall")
-  (c-name "empathy_tp_call_add_preview_video")
-  (return-type "none")
-  (parameters
-    '("guint" "preview_video_socket_id")
-  )
-)
-
-(define-method remove_preview_video
-  (of-object "EmpathyTpCall")
-  (c-name "empathy_tp_call_remove_preview_video")
-  (return-type "none")
-  (parameters
-    '("guint" "preview_video_socket_id")
-  )
-)
-
-(define-method add_output_video
+(define-method close
   (of-object "EmpathyTpCall")
-  (c-name "empathy_tp_call_add_output_video")
+  (c-name "empathy_tp_call_close")
   (return-type "none")
-  (parameters
-    '("guint" "output_video_socket_id")
-  )
 )
 
-(define-method set_output_volume
+(define-method to
   (of-object "EmpathyTpCall")
-  (c-name "empathy_tp_call_set_output_volume")
+  (c-name "empathy_tp_call_to")
   (return-type "none")
   (parameters
-    '("guint" "volume")
+    '("EmpathyContact*" "contact")
   )
 )
 
-(define-method mute_output
+(define-method accept_incoming_call
   (of-object "EmpathyTpCall")
-  (c-name "empathy_tp_call_mute_output")
+  (c-name "empathy_tp_call_accept_incoming_call")
   (return-type "none")
-  (parameters
-    '("gboolean" "is_muted")
-  )
 )
 
-(define-method mute_input
+(define-method request_video_stream_direction
   (of-object "EmpathyTpCall")
-  (c-name "empathy_tp_call_mute_input")
+  (c-name "empathy_tp_call_request_video_stream_direction")
   (return-type "none")
   (parameters
-    '("gboolean" "is_muted")
+    '("gboolean" "is_sending")
   )
 )
 
   )
 )
 
+(define-method close
+  (of-object "EmpathyTpChat")
+  (c-name "empathy_tp_chat_close")
+  (return-type "none")
+)
+
 (define-method get_id
   (of-object "EmpathyTpChat")
   (c-name "empathy_tp_chat_get_id")
   (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
+(define-method get_connection
   (of-object "EmpathyTpChat")
-  (c-name "empathy_tp_chat_set_acknowledge")
-  (return-type "none")
-  (parameters
-    '("gboolean" "acknowledge")
-  )
+  (c-name "empathy_tp_chat_get_connection")
+  (return-type "TpConnection*")
 )
 
-(define-method emit_pendings
+(define-method is_ready
   (of-object "EmpathyTpChat")
-  (c-name "empathy_tp_chat_emit_pendings")
-  (return-type "none")
+  (c-name "empathy_tp_chat_is_ready")
+  (return-type "gboolean")
 )
 
 (define-method send
   )
 )
 
+(define-method get_pending_messages
+  (of-object "EmpathyTpChat")
+  (c-name "empathy_tp_chat_get_pending_messages")
+  (return-type "const-GList*")
+)
+
+(define-method acknowledge_message
+  (of-object "EmpathyTpChat")
+  (c-name "empathy_tp_chat_acknowledge_message")
+  (return-type "none")
+  (parameters
+    '("EmpathyMessage*" "message")
+  )
+)
+
+(define-method acknowledge_messages
+  (of-object "EmpathyTpChat")
+  (c-name "empathy_tp_chat_acknowledge_messages")
+  (return-type "none")
+  (parameters
+    '("const-GList*" "messages")
+  )
+)
+
 
 
 ;; From empathy-tp-contact-factory.h
   (return-type "GType")
 )
 
-(define-function tp_contact_factory_new
-  (c-name "empathy_tp_contact_factory_new")
-  (is-constructor-of "EmpathyTpContactFactory")
+(define-function tp_contact_factory_dup_singleton
+  (c-name "empathy_tp_contact_factory_dup_singleton")
   (return-type "EmpathyTpContactFactory*")
   (parameters
-    '("McAccount*" "account")
-  )
-)
-
-(define-method get_user
-  (of-object "EmpathyTpContactFactory")
-  (c-name "empathy_tp_contact_factory_get_user")
-  (return-type "EmpathyContact*")
-)
-
-(define-method get_from_id
-  (of-object "EmpathyTpContactFactory")
-  (c-name "empathy_tp_contact_factory_get_from_id")
-  (return-type "EmpathyContact*")
-  (parameters
-    '("const-gchar*" "id")
+    '("TpConnection*" "connection")
   )
 )
 
-(define-method get_from_handle
+(define-method get_from_ids
   (of-object "EmpathyTpContactFactory")
-  (c-name "empathy_tp_contact_factory_get_from_handle")
-  (return-type "EmpathyContact*")
+  (c-name "empathy_tp_contact_factory_get_from_ids")
+  (return-type "none")
   (parameters
-    '("guint" "handle")
+    '("guint" "n_ids")
+    '("const-gchar*-const*" "ids")
+    '("EmpathyTpContactFactoryGotContactsCb" "callback")
+    '("gpointer" "user_data")
+    '("GDestroyNotify" "destroy")
+    '("GObject*" "weak_object")
   )
 )
 
 (define-method get_from_handles
   (of-object "EmpathyTpContactFactory")
   (c-name "empathy_tp_contact_factory_get_from_handles")
-  (return-type "GList*")
+  (return-type "none")
   (parameters
-    '("const-GArray*" "handles")
+    '("guint" "n_handles")
+    '("const-TpHandle*" "handles")
+    '("EmpathyTpContactFactoryGotContactsCb" "callback")
+    '("gpointer" "user_data")
+    '("GDestroyNotify" "destroy")
+    '("GObject*" "weak_object")
   )
 )
 
   )
 )
 
-(define-method is_ready
-  (of-object "EmpathyTpContactFactory")
-  (c-name "empathy_tp_contact_factory_is_ready")
-  (return-type "gboolean")
-)
-
 
 
 ;; From empathy-tp-contact-list.h
   (is-constructor-of "EmpathyTpContactList")
   (return-type "EmpathyTpContactList*")
   (parameters
-    '("McAccount*" "account")
+    '("TpConnection*" "connection")
   )
 )
 
-(define-method get_account
+(define-method get_connection
   (of-object "EmpathyTpContactList")
-  (c-name "empathy_tp_contact_list_get_account")
-  (return-type "McAccount*")
+  (c-name "empathy_tp_contact_list_get_connection")
+  (return-type "TpConnection*")
 )
 
 (define-method can_add
   (return-type "gboolean")
 )
 
+(define-method remove_all
+  (of-object "EmpathyTpContactList")
+  (c-name "empathy_tp_contact_list_remove_all")
+  (return-type "none")
+)
+
 
 
 ;; From empathy-tp-file.h
   (return-type "none")
 )
 
+(define-method close
+  (of-object "EmpathyTpFile")
+  (c-name "empathy_tp_file_close")
+  (return-type "none")
+)
+
 (define-method offer
   (of-object "EmpathyTpFile")
   (c-name "empathy_tp_file_offer")
 (define-method get_state
   (of-object "EmpathyTpFile")
   (c-name "empathy_tp_file_get_state")
-  (return-type "EmpFileTransferState")
+  (return-type "TpFileTransferState")
   (parameters
-    '("EmpFileTransferStateChangeReason*" "reason")
+    '("TpFileTransferStateChangeReason*" "reason")
   )
 )
 
   (return-type "const-gchar*")
 )
 
-
-
-;; From empathy-tp-group.h
-
-(define-function tp_group_get_type
-  (c-name "empathy_tp_group_get_type")
-  (return-type "GType")
-)
-
-(define-function tp_group_new
-  (c-name "empathy_tp_group_new")
-  (is-constructor-of "EmpathyTpGroup")
-  (return-type "EmpathyTpGroup*")
-  (parameters
-    '("TpChannel*" "channel")
-  )
-)
-
-(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
-    '("GList*" "contacts")
-    '("const-gchar*" "message")
-  )
-)
-
-(define-method add_member
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_add_member")
-  (return-type "none")
-  (parameters
-    '("EmpathyContact*" "contact")
-    '("const-gchar*" "message")
-  )
-)
-
-(define-method remove_members
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_remove_members")
-  (return-type "none")
-  (parameters
-    '("GList*" "contacts")
-    '("const-gchar*" "message")
-  )
-)
-
-(define-method remove_member
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_remove_member")
-  (return-type "none")
-  (parameters
-    '("EmpathyContact*" "contact")
-    '("const-gchar*" "message")
-  )
-)
-
-(define-method get_members
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_members")
-  (return-type "GList*")
-)
-
-(define-method get_local_pendings
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_local_pendings")
-  (return-type "GList*")
-)
-
-(define-method get_remote_pendings
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_remote_pendings")
-  (return-type "GList*")
-)
-
-(define-method get_name
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_name")
-  (return-type "const-gchar*")
-)
-
-(define-method get_self_contact
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_self_contact")
-  (return-type "EmpathyContact*")
-)
-
-(define-method is_member
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_is_member")
-  (return-type "gboolean")
-  (parameters
-    '("EmpathyContact*" "contact")
-  )
-)
-
 (define-method is_ready
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_is_ready")
+  (of-object "EmpathyTpFile")
+  (c-name "empathy_tp_file_is_ready")
   (return-type "gboolean")
 )
 
-(define-method get_invitation
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_invitation")
-  (return-type "EmpathyPendingInfo*")
-  (parameters
-    '("EmpathyContact**" "remote_contact")
-  )
-)
-
-(define-function 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")
-)
-
-(define-method get_flags
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_flags")
-  (return-type "TpChannelGroupFlags")
-)
-
 
 
 ;; From empathy-tp-roomlist.h
   (return-type "EmpathyTpTube*")
   (parameters
     '("TpChannel*" "channel")
-    '("guint" "tube_id")
   )
 )
 
     '("const-gchar*" "hostname")
     '("guint" "port")
     '("const-gchar*" "service")
+    '("GHashTable*" "parameters")
   )
 )
 
   (return-type "none")
   (parameters
     '("TpSocketAddressType" "type")
-  )
-)
-
-(define-method get_socket
-  (of-object "EmpathyTpTube")
-  (c-name "empathy_tp_tube_get_socket")
-  (return-type "none")
-  (parameters
-    '("gchar**" "hostname")
-    '("guint*" "port")
+    '("EmpatyTpTubeAcceptStreamTubeCb*" "callback")
+    '("gpointer" "user_data")
   )
 )
 
 
 
 
+;; From empathy-types.h
+
+
+
 ;; From empathy-utils.h
 
 (define-function init
   )
 )
 
-(define-function mission_control_new
-  (c-name "empathy_mission_control_new")
-  (is-constructor-of "EmpathyMissionControl")
+(define-function mission_control_dup_singleton
+  (c-name "empathy_mission_control_dup_singleton")
   (return-type "MissionControl*")
 )
 
   )
 )
 
-(define-function run_until_ready
-  (c-name "empathy_run_until_ready")
-  (return-type "none")
-  (parameters
-    '("gpointer" "object")
-  )
-)
-
-(define-function run_until_ready_full
-  (c-name "empathy_run_until_ready_full")
-  (return-type "none")
-  (parameters
-    '("gpointer" "object")
-    '("const-gchar*" "signal")
-    '("EmpathyRunUntilReadyFunc" "func")
-    '("gpointer" "user_data")
-    '("GMainLoop**" "loop")
-  )
-)
-
-(define-function channel_get_account
-  (c-name "empathy_channel_get_account")
-  (return-type "McAccount*")
-  (parameters
-    '("TpChannel*" "channel")
-  )
-)
-
 (define-function proxy_equal
   (c-name "empathy_proxy_equal")
   (return-type "gboolean")
   )
 )
 
-(define-function connection_request_channel
-  (c-name "empathy_connection_request_channel")
-  (return-type "none")
-  (parameters
-    '("TpConnection*" "proxy")
-    '("gint" "timeout_ms")
-    '("const-gchar*" "channel_type")
-    '("guint" "handle_type")
-    '("const-gchar*" "name")
-    '("gboolean" "suppress_handler")
-    '("empathy_connection_callback_for_request_channel" "callback")
-    '("gpointer" "user_data")
-    '("GDestroyNotify" "destroy")
-    '("GObject*" "weak_object")
-  )
+(define-function check_available_state
+  (c-name "empathy_check_available_state")
+  (return-type "gboolean")
 )