]> git.0d.be Git - empathy.git/blobdiff - python/pyempathy/pyempathy.defs
regenerated pyempathy.defs
[empathy.git] / python / pyempathy / pyempathy.defs
index f8b552c20bc5f50bd9f26e74daffc8b07f4537eb..c67567b4ab3bc1e52c6e4ac67b3b6a0aa1aacd13 100644 (file)
   (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")
   )
 )
 
+(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-enum TubeType
+  (in-module "Empathy")
+  (c-name "EmpathyTubeType")
+  (gtype-id "EMPATHY_TYPE_TUBE_TYPE")
+  (values
+    '("stream-tube" "EMPATHY_TYPE_STREAM_TUBE")
+    '("dbus-tube" "EMPATHY_TYPE_DBUS_TUBE")
+  )
+)
+
 
 ;; From empathy-account-manager.h
 
   (return-type "GType")
 )
 
-(define-function account_manager_new
-  (c-name "empathy_account_manager_new")
-  (is-constructor-of "EmpathyAccountManager")
+(define-function account_manager_dup_singleton
+  (c-name "empathy_account_manager_dup_singleton")
   (return-type "EmpathyAccountManager*")
 )
 
   )
 )
 
+(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-contact.h
   )
 )
 
+(define-method call_when_ready
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_call_when_ready")
+  (return-type "none")
+  (parameters
+    '("EmpathyContactReady" "ready")
+    '("EmpathyContactReadyCb*" "callback")
+    '("gpointer" "user_data")
+    '("GDestroyNotify" "destroy")
+    '("GObject*" "weak_object")
+  )
+)
+
 (define-method run_until_ready
   (of-object "EmpathyContact")
   (c-name "empathy_contact_run_until_ready")
   (return-type "GType")
 )
 
-(define-function contact_factory_new
-  (c-name "empathy_contact_factory_new")
-  (is-constructor-of "EmpathyContactFactory")
+(define-function contact_factory_dup_singleton
+  (c-name "empathy_contact_factory_dup_singleton")
   (return-type "EmpathyContactFactory*")
 )
 
   (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*")
 )
 
 
 
 
+;; 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")
+  )
+)
+
+
+
 ;; From empathy-debug.h
 
 (define-function debug_flag_is_set
   (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")
+(define-function dispatcher_call_with_contact
+  (c-name "empathy_dispatcher_call_with_contact")
   (return-type "none")
   (parameters
-    '("TpChannel*" "channel")
+    '("EmpathyContact*" "contact")
+    '("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")
-  (return-type "none")
-)
-
-(define-method tube_process
-  (of-object "EmpathyDispatcher")
-  (c-name "empathy_dispatcher_tube_process")
+(define-function dispatcher_chat_with_contact_id
+  (c-name "empathy_dispatcher_chat_with_contact_id")
   (return-type "none")
   (parameters
-    '("EmpathyDispatcherTube*" "tube")
+    '("McAccount*" "account")
+    '("const-gchar*" "contact_id")
+    '("EmpathyDispatcherRequestCb*" "callback")
+    '("gpointer" "user_data")
   )
 )
 
-(define-function dispatcher_call_with_contact
-  (c-name "empathy_dispatcher_call_with_contact")
+(define-function dispatcher_chat_with_contact
+  (c-name "empathy_dispatcher_chat_with_contact")
   (return-type "none")
   (parameters
     '("EmpathyContact*" "contact")
+    '("EmpathyDispatcherRequestCb*" "callback")
+    '("gpointer" "user_data")
   )
 )
 
-(define-function dispatcher_call_with_contact_id
-  (c-name "empathy_dispatcher_call_with_contact_id")
+(define-function dispatcher_send_file_to_contact
+  (c-name "empathy_dispatcher_send_file_to_contact")
   (return-type "none")
   (parameters
-    '("McAccount*" "account")
-    '("const-gchar*" "contact_id")
+    '("EmpathyContact*" "contact")
+    '("const-gchar*" "filename")
+    '("guint64" "size")
+    '("guint64" "date")
+    '("const-gchar*" "content_type")
+    '("EmpathyDispatcherRequestCb*" "callback")
+    '("gpointer" "user_data")
   )
 )
 
-(define-function dispatcher_chat_with_contact_id
-  (c-name "empathy_dispatcher_chat_with_contact_id")
+(define-function dispatcher_join_muc
+  (c-name "empathy_dispatcher_join_muc")
   (return-type "none")
   (parameters
     '("McAccount*" "account")
-    '("const-gchar*" "contact_id")
+    '("const-gchar*" "roomname")
+    '("EmpathyDispatcherRequestCb*" "callback")
+    '("gpointer" "user_data")
   )
 )
 
-(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 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")
+  )
+)
+
 
 
 ;; From empathy-status-presets.h
   )
 )
 
+(define-method close
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_close")
+  (return-type "none")
+)
+
+(define-method to
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_to")
+  (return-type "none")
+  (parameters
+    '("EmpathyContact*" "contact")
+  )
+)
+
 (define-method accept_incoming_call
   (of-object "EmpathyTpCall")
   (c-name "empathy_tp_call_accept_incoming_call")
   )
 )
 
+(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 "guint")
 )
 
-(define-method set_acknowledge
-  (of-object "EmpathyTpChat")
-  (c-name "empathy_tp_chat_set_acknowledge")
-  (return-type "none")
-  (parameters
-    '("gboolean" "acknowledge")
-  )
-)
-
-(define-method emit_pendings
-  (of-object "EmpathyTpChat")
-  (c-name "empathy_tp_chat_emit_pendings")
-  (return-type "none")
-)
-
 (define-method send
   (of-object "EmpathyTpChat")
   (c-name "empathy_tp_chat_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 "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 "guint")
   (parameters
-    '("EmpFileTransferStateChangeReason*" "reason")
+    '("guint*" "reason")
   )
 )
 
   (return-type "EmpathyTpTube*")
   (parameters
     '("TpChannel*" "channel")
-    '("guint" "tube_id")
   )
 )
 
   (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")
   )
 )
 
   (is-constructor-of "EmpathyTubeHandler")
   (return-type "EmpathyTubeHandler*")
   (parameters
-    '("TpTubeType" "type")
+    '("EmpathyTubeType" "type")
     '("const-gchar*" "service")
   )
 )
   (c-name "empathy_tube_handler_build_bus_name")
   (return-type "gchar*")
   (parameters
-    '("TpTubeType" "type")
+    '("EmpathyTubeType" "type")
     '("const-gchar*" "service")
   )
 )
   (c-name "empathy_tube_handler_build_object_path")
   (return-type "gchar*")
   (parameters
-    '("TpTubeType" "type")
+    '("EmpathyTubeType" "type")
     '("const-gchar*" "service")
   )
 )
 
 
 
+;; 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 connection_request_channel
-  (c-name "empathy_connection_request_channel")
+(define-function start_call_with_contact
+  (c-name "empathy_start_call_with_contact")
   (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")
+    '("EmpathyContact*" "contact")
   )
 )