]> git.0d.be Git - empathy.git/commitdiff
Update python bindings
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 1 Jun 2009 15:32:57 +0000 (17:32 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 1 Jun 2009 15:55:34 +0000 (17:55 +0200)
python/pyempathy/pyempathy.defs

index 0e54ea112518c28bb634dc35267512e0e7f1068d..02c8dad1978c40e43da88298f455e6a3ca048c08 100644 (file)
     '("audio" "EMPATHY_CAPABILITIES_AUDIO")
     '("video" "EMPATHY_CAPABILITIES_VIDEO")
     '("ft" "EMPATHY_CAPABILITIES_FT")
+    '("stream-tube" "EMPATHY_CAPABILITIES_STREAM_TUBE")
     '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
   )
 )
   (return-type "gboolean")
 )
 
+(define-method can_use_stream_tube
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_can_use_stream_tube")
+  (return-type "gboolean")
+)
+
 (define-function contact_hash
   (c-name "empathy_contact_hash")
   (return-type "guint")
   )
 )
 
-(define-method find_channel_class
+(define-method find_requestable_channel_classes_async
+  (of-object "EmpathyDispatcher")
+  (c-name "empathy_dispatcher_find_requestable_channel_classes_async")
+  (return-type "none")
+  (parameters
+    '("TpConnection*" "connection")
+    '("const-gchar*" "channel_type")
+    '("guint" "handle_type")
+    '("EmpathyDispatcherFindChannelClassCb" "callback")
+    '("gpointer" "user_data")
+    '("const-char*" "first_property_name")
+  )
+  (varargs #t)
+)
+
+(define-method find_requestable_channel_classes
   (of-object "EmpathyDispatcher")
-  (c-name "empathy_dispatcher_find_channel_class")
-  (return-type "GStrv")
+  (c-name "empathy_dispatcher_find_requestable_channel_classes")
+  (return-type "GList*")
   (parameters
     '("TpConnection*" "connection")
     '("const-gchar*" "channel_type")
     '("guint" "handle_type")
+    '("const-char*" "first_property_name")
   )
+  (varargs #t)
 )
 
 (define-function dispatcher_dup_singleton
   (parameters
     '("EmpathyContact*" "contact")
     '("GFile*" "source")
-    '("gboolean" "use_hash")
   )
 )
 
   (parameters
     '("EmpathyFTHandler*" "handler")
     '("GFile*" "destination")
-    '("gboolean" "use_hash")
   )
 )
 
   (parameters
     '("EmpathyContact*" "contact")
     '("GFile*" "source")
-    '("gboolean" "use_hash")
     '("EmpathyFTHandlerReadyCallback" "callback")
     '("gpointer" "user_data")
   )
   (return-type "none")
   (parameters
     '("GFile*" "destination")
-    '("gboolean" "use_hash")
   )
 )
 
   (return-type "gboolean")
 )
 
+(define-function uint_compare
+  (c-name "empathy_uint_compare")
+  (return-type "gint")
+  (parameters
+    '("gconstpointer" "a")
+    '("gconstpointer" "b")
+  )
+)
+