]> git.0d.be Git - empathy.git/commitdiff
upgrade Python bindings
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 18 May 2009 15:19:17 +0000 (16:19 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 18 May 2009 15:19:17 +0000 (16:19 +0100)
python/pyempathy/pyempathy.defs
python/pyempathygtk/pyempathygtk.defs

index 2f522eb07107cae11160c4f2cec2c6d73b798603..f438882d984e794ba799d9c2e5f50c40b14b01a7 100644 (file)
   )
 )
 
+(define-method new_call_with_streams
+  (of-object "EmpathyCallFactory")
+  (c-name "empathy_call_factory_new_call_with_streams")
+  (return-type "none")
+  (parameters
+    '("EmpathyContact*" "contact")
+    '("gboolean" "initial_audio")
+    '("gboolean" "initial_video")
+  )
+)
+
 (define-method claim_channel
   (of-object "EmpathyCallFactory")
   (c-name "empathy_call_factory_claim_channel")
   )
 )
 
+(define-function call_handler_new_for_contact_with_streams
+  (c-name "empathy_call_handler_new_for_contact_with_streams")
+  (return-type "EmpathyCallHandler*")
+  (parameters
+    '("EmpathyContact*" "contact")
+    '("gboolean" "audio")
+    '("gboolean" "video")
+  )
+)
+
 (define-function call_handler_new_for_channel
   (c-name "empathy_call_handler_new_for_channel")
   (return-type "EmpathyCallHandler*")
   (return-type "none")
   (parameters
     '("EmpathyContact*" "contact")
+    '("gboolean" "audio")
+    '("gboolean" "video")
   )
 )
 
index 816261d3994cb09f795692c5aa0147c5f94339d1..b0ce54ae3e19c1bdeb787acfd8cd9aa6e61f091d 100644 (file)
     '("is-active" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ACTIVE")
     '("is-online" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ONLINE")
     '("is-separator" "EMPATHY_CONTACT_LIST_STORE_COL_IS_SEPARATOR")
-    '("can-voip" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_VOIP")
+    '("can-audio-call" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_AUDIO_CALL")
+    '("can-video-call" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_VIDEO_CALL")
     '("count" "EMPATHY_CONTACT_LIST_STORE_COL_COUNT")
   )
 )
   (return-type "GtkWidget*")
 )
 
-(define-method call_menu_item_new
+(define-method audio_call_menu_item_new
   (of-object "EmpathyContact")
-  (c-name "empathy_contact_call_menu_item_new")
+  (c-name "empathy_contact_audio_call_menu_item_new")
+  (return-type "GtkWidget*")
+)
+
+(define-method video_call_menu_item_new
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_video_call_menu_item_new")
   (return-type "GtkWidget*")
 )